Expand description
Common methods needed in subtle implementations.
Modules§
- random
- Utilities for random data.
Enums§
- Hash
Func - Hash function object.
Functions§
- compute_
hash - Calculate a hash of the given data using the given hash function.
- compute_
hkdf - Extract a pseudorandom key.
- constant_
time_ compare - Compare two slices in constant time. Return
true
if they are equal,false
otherwise. - get_
hash_ digest_ size - Return the digest size of the specified hash algorithm.
- get_
hash_ func - Return the corresponding hash function of the given hash.