Module sp_core::hash[][src]

A fixed hash type.

Structs

H160

Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.

H256

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

H512

Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.

Functions

convert_hash

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.