summaryrefslogtreecommitdiff
path: root/crates/tor-llcrypto/src/d.rs
blob: 0c6dda07249c0b7f6e452d914be602ac32b6ab8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//! Digests and XOFs used to implement the Tor protocol.
//!
//! In various places, for legacy reasons, Tor uses SHA1, SHA2, SHA3,
//! and SHAKE.  We re-export them all here, in forms implementing the
//! the [`digest::Digest`] traits.
//!
//! Other code should access these digests via the traits in the
//! [`digest`] crate.

pub use sha1::Sha1;
pub use sha2::{Sha256, Sha512};
pub use sha3::{Sha3_256, Shake128, Shake256};