Skip to content

SHA1, SHA2, SHA3, SHAKE, HMAC, HKDF, MGF1, random numbers in Swift

License

Notifications You must be signed in to change notification settings

raincoatforever/Digest

 
 

Repository files navigation

Digest

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.

About

SHA1, SHA2, SHA3, SHAKE, HMAC, HKDF, MGF1, random numbers in Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 97.9%
  • JavaScript 1.3%
  • Other 0.8%