Module sp_core::hash

source ·
Expand description

A fixed hash type.

Structs§

  • 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.

Functions§

  • Hash conversion. Used to convert between unbound associated hash types in traits, implemented by the same hash type. Panics if used to convert between different hash types.