Module hashing

Source
Expand description

Interface that provides functions for hashing with different algorithms.

Structs§

HostFunctions
Provides implementations for the extern host functions.

Functions§

blake2_128
Conduct a 128-bit Blake2 hash.
blake2_256
Conduct a 256-bit Blake2 hash.
keccak_256
Conduct a 256-bit Keccak hash.
keccak_512
Conduct a 512-bit Keccak hash.
sha2_256
Conduct a 256-bit Sha2 hash.
twox_64
Conduct two XX hashes to give a 64-bit result.
twox_128
Conduct two XX hashes to give a 128-bit result.
twox_256
Conduct four XX hashes to give a 256-bit result.