Expand description
Minimal implementation of Substrate hash.
Functions§
- Hash the data into a 16-bytes array with BLAKE2 algorithm.
- Hash the data into
blake2_128(data) + data
. - Hash the data into a 32-bytes array with BLAKE2 algorithm.
- Hash the data into a 64-bytes array with BLAKE2 algorithm.
- Return data directly.
- Hash the data into a 32-bytes array with Keccak algorithm.
- Hash the data into a 64-bytes array with Keccak algorithm.
- Hash the data into a 32-bytes array with SHA2 algorithm.
- Hash the data into a 8-bytes array with XX algorithm.
- Hash the data into
twox_64(data) + data
. - Hash the data into a 16-bytes array with XX algorithm.
- Hash the data into a 32-bytes array with XX algorithm.