Expand description
Hashing utilities for Actix Web.
§Crate Features
All features are enabled by default.
blake2
: Blake2 typesblake3
: Blake3 typesmd5
: MD5 types 🚩md4
: MD4 types 🚩sha1
: SHA-1 types 🚩sha2
: SHA-2 typessha3
: SHA-3 types
§Security Warning 🚩
The md4
, md5
, and sha1
types are included for completeness and interoperability but they
are considered cryptographically broken by modern standards. For security critical use cases,
you should move to using the other algorithms.
Structs§
- Body
Hash - Wraps an extractor and calculates a body checksum hash alongside.
- Body
Hash Parts - Parts of the resulting body hash extractor.
Type Aliases§
- Body
Blake3 blake3
- Wraps an extractor and calculates a
Blake3
body checksum hash alongside. - Body
Blake2b blake2
- Wraps an extractor and calculates a
Blake2b
body checksum hash alongside. - Body
Blake2s blake2
- Wraps an extractor and calculates a
Blake2s
body checksum hash alongside. - BodyMd4
md4
- Wraps an extractor and calculates a
MD4
body checksum hash alongside. - BodyMd5
md5
- Wraps an extractor and calculates a
MD5
body checksum hash alongside. - Body
Sha1 sha1
- Wraps an extractor and calculates a
SHA-1
body checksum hash alongside. - Body
Sha3_ 224 sha3
- Wraps an extractor and calculates a
SHA-3-224
body checksum hash alongside. - Body
Sha3_ 256 sha3
- Wraps an extractor and calculates a
SHA-3-256
body checksum hash alongside. - Body
Sha3_ 384 sha3
- Wraps an extractor and calculates a
SHA-3-384
body checksum hash alongside. - Body
Sha3_ 512 sha3
- Wraps an extractor and calculates a
SHA-3-512
body checksum hash alongside. - Body
Sha224 sha2
- Wraps an extractor and calculates a
SHA-224
body checksum hash alongside. - Body
Sha256 sha2
- Wraps an extractor and calculates a
SHA-256
body checksum hash alongside. - Body
Sha384 sha2
- Wraps an extractor and calculates a
SHA-384
body checksum hash alongside. - Body
Sha512 sha2
- Wraps an extractor and calculates a
SHA-512
body checksum hash alongside.