Expand description
§SHA3
A SHA3 implementation with optional simd optimisations.
Re-exports§
pub use hash as sha3;
Modules§
- avx2
- An AVX2 optimised implementation.
- portable
- A portable SHA3 implementation without platform dependent optimisations.
Structs§
- Sha3_
224 - A struct that implements
libcrux_traits::digesttraits. - Sha3_
256 - A struct that implements
libcrux_traits::digesttraits. - Sha3_
384 - A struct that implements
libcrux_traits::digesttraits. - Sha3_
512 - A struct that implements
libcrux_traits::digesttraits.
Enums§
- Algorithm
- The Digest Algorithm.
Constants§
- SHA3_
224_ DIGEST_ SIZE - Size in bytes of a SHA3 224 digest.
- SHA3_
256_ DIGEST_ SIZE - Size in bytes of a SHA3 256 digest.
- SHA3_
384_ DIGEST_ SIZE - Size in bytes of a SHA3 2384 digest.
- SHA3_
512_ DIGEST_ SIZE - Size in bytes of a SHA3 512 digest.
Functions§
- digest_
size - Returns the output size of a digest.
- hash
- SHA3
- sha224
- SHA3 224
- sha256
- SHA3 256
- sha384
- SHA3 384
- sha512
- SHA3 512
- sha224_
ema - SHA3 224
- sha256_
ema - SHA3 256
- sha384_
ema - SHA3 384
- sha512_
ema - SHA3 512
- shake128
- SHAKE 128
- shake256
- SHAKE 256
- shake128_
ema - SHAKE 128
- shake256_
ema - SHAKE 256
Type Aliases§
- Sha3_
224Hasher - A hasher for
Sha3_224. - Sha3_
256Hasher - A hasher for
Sha3_256. - Sha3_
384Hasher - A hasher for
Sha3_384. - Sha3_
512Hasher - A hasher for
Sha3_512.