包含FIPS PUB 180-2中提到的NIST (the US' National Institute of Standards and Technology) 的 SHA-256 Secure Hash Algorithm的类。
Digest::SHA256.new([str])
Digest::SHA256.digest(str)
Digest::SHA256.hexdigest(str)
请参考Digest::Base页面。
dup
clone
digest
hexdigest
to_s
update(str)
self << str
self == md
self == str