Module sp_io::hashing

source ·
Expand description

Interface that provides functions for hashing with different algorithms.

Structs

  • Provides implementations for the extern host functions.

Functions

  • Conduct a 128-bit Blake2 hash.
  • Conduct a 256-bit Blake2 hash.
  • Conduct a 256-bit Keccak hash.
  • Conduct a 512-bit Keccak hash.
  • Conduct a 256-bit Sha2 hash.
  • Conduct two XX hashes to give a 64-bit result.
  • Conduct two XX hashes to give a 128-bit result.
  • Conduct four XX hashes to give a 256-bit result.