Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > digest/sha2ライブラリ > Digest::SHA2クラス > new
new(bitlen = 256)
Creates a new SHA2 hash object with a given bit length.