rscrypto 0.8.0

Pure Rust Cryptography: RSA, Ed25519, X25519, SHA-2/3, BLAKE2/3, AES-GCM/GCM-SIV, X/ChaCha20-Poly1305, Argon2, HMAC/HKDF, CRC. no_std, WASM, hardware acceleration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Fast non-cryptographic hashes (**NOT CRYPTO**).
//!
//! This module intentionally requires explicit opt-in. Do not use these hashes
//! for signatures, MACs, key derivation, or anything requiring cryptographic
//! security.

#[cfg(feature = "rapidhash")]
pub mod rapidhash;
#[cfg(feature = "xxh3")]
pub mod xxh3;

#[cfg(feature = "rapidhash")]
pub use rapidhash::{RapidHash64, RapidHasher, RapidRandomState, RapidSeededState, RapidStreamHasher};
#[cfg(feature = "xxh3")]
pub use xxh3::{Xxh3_64, Xxh3_64 as Xxh3, Xxh3_128};
#[cfg(feature = "xxh3")]
pub use xxh3::{Xxh3_128Hasher, Xxh3BuildHasher, Xxh3Hasher};