Functionsยง
- bits_
to_ unsigned_ int - bits_
to_ unsigned_ ints - get_
least_ significant_ bits - Gets the
bitsleast significant bits ofindex, sorted from most significant to least significant. - hash
- Hashes arbitrary bytes using SHA256
- hmac
- Computes the HMAC-SHA256 using the given key and data
- slice_
to_ hash - Convert a
&[u8]to a [u8; 32] - string_
to_ hash - string_
to_ hash_ maybe