enum OpenSSL::Algorithm
¶
Indicates the possible hash algorithms for OpenSSL
digest operations.
Members¶
MD4 = 0
¶
0
MD5 = 1
¶
1
RIPEMD160 = 2
¶
2
SHA1 = 3
¶
3
SHA224 = 4
¶
4
SHA256 = 5
¶
5
SHA384 = 6
¶
6
SHA512 = 7
¶
7
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.