Crate ic_representation_independent_hash

Source
Expand description

§Representation Independent Hash

Enums§

Value
Represents a value to be hashed. Only UTF-8 strings, bytes, unsigned numbers, and arrays are currently supported.

Functions§

hash
Calculates the SHA-256 hash of the given slice.
representation_independent_hash
A partial implementation of Representation Independent Hash that only supports UTF-8 strings or numbers as values.

Type Aliases§

Sha256Digest
Type alias for a SHA-256 hash.