Module tor_llcrypto::d
source · Expand description
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.
Structs§
- Sha1
with-openssl
Wrapper around OpenSSL Sha1 to make it compatible withdigest
Type Aliases§
- SHA-3-256 hasher state.
- SHA-256 hasher.
- SHA-512 hasher.
- SHAKE128 hasher state.
- SHAKE256 hasher state.
- SHAKE256 reader state.