referrerpolicy=no-referrer-when-downgrade

Module polkadot_sdk_frame::hashing

source ·

Structs§

  • Blake2-256 Hash implementation.
  • Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
  • Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
  • Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.
  • Keccak-256 Hash implementation.
  • Little-endian large integer type 256-bit unsigned integer.
  • Little-endian large integer type 512-bits unsigned integer.

Traits§

  • Abstraction around hashing

Functions§

  • Do a Blake2 64-bit hash and return result.
  • Do a Blake2 128-bit hash and return result.
  • Do a Blake2 256-bit hash and return result.
  • Do a Blake2 512-bit hash and return result.
  • Do a Blake2 512-bit hash and place result in dest.
  • Do a keccak 256-bit hash and return result.
  • Do a keccak 512-bit hash and return result.
  • Do a sha2 256-bit hash and return result.
  • Do a XX 64-bit hash and return result.
  • Do a XX 64-bit hash and place result in dest.
  • Do a XX 128-bit hash and return result.
  • Do a XX 256-bit hash and return result.
  • Do a XX 128-bit hash and place result in dest.
  • Do a XX 256-bit hash and place result in dest.