solana_program/
hash.rs

1//! Hashing with the [SHA-256] hash function, and a general [`Hash`] type.
2//!
3//! [SHA-256]: https://en.wikipedia.org/wiki/SHA-2
4//! [`Hash`]: struct@Hash
5
6#[cfg(not(target_os = "solana"))]
7pub use solana_sha256_hasher::Hasher;
8pub use {
9    solana_hash::{Hash, ParseHashError, HASH_BYTES},
10    solana_sha256_hasher::{hash, hashv},
11};