Module solana_program::hash[][src]

The hash module provides functions for creating SHA-256 hashes.

Structs

Hash
Hasher

Enums

ParseHashError

Constants

HASH_BYTES

Functions

extend_and_hash

Return the hash of the given hash extended with the given value.

hash

Return a Sha256 hash for the given data.

hashv

Return a Sha256 hash for the given data.