class OpenSSL::SHA1
inherits Reference
¶
Binds the OpenSSL SHA1 hash functions.
Warning: SHA1 is no longer a cryptographically secure hash, and should not be
used in security-related components, like password hashing. For passwords, see
Crypto::Bcrypt::Password
. For a generic cryptographic hash, use SHA-256 via
OpenSSL::Digest.new("SHA256")
.