Indicates the possible hash algorithms for OpenSSL digest operations.
0 1 2 3 4 5 6 7 Returns true if this enum value equals MD4
Returns true if this enum value equals MD5
Returns true if this enum value equals RIPEMD160
Returns true if this enum value equals SHA1
Returns true if this enum value equals SHA224
Returns true if this enum value equals SHA256
Returns true if this enum value equals SHA384
Returns true if this enum value equals SHA512
Returns the appropriate equivalent hash algorithm that corresponds to the current enum value.
Enum
Enum
Enum
Enum
Comparable(Enum)
Value
Object
Object
Object
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.
© 2012–2026 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.19.0/OpenSSL/Algorithm.html