The Digest package provides the following functionality:
- Message Digest algorithms - SHA1, SHA2 and SHA3
- Extendable Output Functions - SHAKE and XOF
- Hash Based Message Authentication Codes - HMAC
- Key Derivation Functions - HKDF and X963KDF
- Mask Generation Function - MGF1
- Random number generation using the Mersenne Twister algorithm
Digest requires Swift 5.0. It also requires that the Int
and UInt
types be 64 bit types.
Its documentation is build with the DocC plugin and published on GitHub Pages at this location:
https://leif-ibsen.github.io/Digest/documentation/digest
The documentation is also available in the Digest.doccarchive file.