in reply to Digest::SHA options

It depends on how you define better. Security is always a compromise. In this case, increasing the hash size