OpenSSL::Algorithm
Inherits Enum / Comparable / Value / Object
Indicates the possible hash algorithms for OpenSSL digest operations.
Constants
MD4 = 0
MD5 = 1
RIPEMD160 = 2
SHA1 = 3
SHA224 = 4
SHA256 = 5
SHA384 = 6
SHA512 = 7
Instance methods
to_evp
Returns the appropriate equivalent hash algorithm that corresponds to the current enum value.
The internal bindings to the LibCrypto digest operations sometimes require a hash algorithm
implementation to be passed as one of the arguments.