atlas_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 = "atlas"))]
7pub use atlas_sha256_hasher::Hasher;
8pub use {
9 atlas_hash::{Hash, ParseHashError, HASH_BYTES},
10 atlas_sha256_hasher::{hash, hashv},
11};