solana_program/
hash.rs

1
2
3
4
5
6
7
8
9
//! Hashing with the [SHA-256] hash function, and a general [`Hash`] type.
//!
//! [SHA-256]: https://en.wikipedia.org/wiki/SHA-2
//! [`Hash`]: struct@Hash

pub use {
    solana_hash::{Hash, ParseHashError, HASH_BYTES},
    solana_sha256_hasher::{extend_and_hash, hash, hashv, Hasher},
};