Module solana_sdk::hash

source ·
Expand description

Hashing with the SHA-256 hash function, and a general Hash type.

Structs

A hash; the 32-byte output of a hashing algorithm.

Enums

Constants

Size of a hash in bytes.

Functions

Return the hash of the given hash extended with the given value.
Return a Sha256 hash for the given data.
Return a Sha256 hash for the given data.
Random hash value for tests and benchmarks.