Crate actix_hash

Source
Expand description

Hashing utilities for Actix Web.

§Crate Features

All features are enabled by default.

  • blake2: Blake2 types
  • blake3: Blake3 types
  • md5: MD5 types 🚩
  • md4: MD4 types 🚩
  • sha1: SHA-1 types 🚩
  • sha2: SHA-2 types
  • sha3: 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§

BodyHash
Wraps an extractor and calculates a body checksum hash alongside.
BodyHashParts
Parts of the resulting body hash extractor.

Type Aliases§

BodyBlake3blake3
Wraps an extractor and calculates a Blake3 body checksum hash alongside.
BodyBlake2bblake2
Wraps an extractor and calculates a Blake2b body checksum hash alongside.
BodyBlake2sblake2
Wraps an extractor and calculates a Blake2s body checksum hash alongside.
BodyMd4md4
Wraps an extractor and calculates a MD4 body checksum hash alongside.
BodyMd5md5
Wraps an extractor and calculates a MD5 body checksum hash alongside.
BodySha1sha1
Wraps an extractor and calculates a SHA-1 body checksum hash alongside.
BodySha3_224sha3
Wraps an extractor and calculates a SHA-3-224 body checksum hash alongside.
BodySha3_256sha3
Wraps an extractor and calculates a SHA-3-256 body checksum hash alongside.
BodySha3_384sha3
Wraps an extractor and calculates a SHA-3-384 body checksum hash alongside.
BodySha3_512sha3
Wraps an extractor and calculates a SHA-3-512 body checksum hash alongside.
BodySha224sha2
Wraps an extractor and calculates a SHA-224 body checksum hash alongside.
BodySha256sha2
Wraps an extractor and calculates a SHA-256 body checksum hash alongside.
BodySha384sha2
Wraps an extractor and calculates a SHA-384 body checksum hash alongside.
BodySha512sha2
Wraps an extractor and calculates a SHA-512 body checksum hash alongside.