HASH$Index
Returns the hash algorithm index corresponding to the specified name.
Format
HASH$Index name result
Arguments
name
A pointer to an SRB which points to the hash algorithm name to look up. The comparison to installed algorithm names will be done case-insensitively. This is always an ASCII string and not interpreted as UTF-8.
result
A pointer to a 32-bit buffer where the index will be written.
Description
This service returns the index of the hash algorithm corresponding to the passed name.
Condition Values Returned
Value |
Meaning |
SS_NORMAL |
Successful completion. |
HASHLIB_Invalid_Hash |
The specified hash name did not match an installed hash algorithm. |