All Versions
Latest Version
Avg Release Cycle
Latest Release

Changelog History

  • v1.3.0.1 Changes

    • ๐Ÿ›  Fix pkgconfig-depends decleration for @use-system-library@ configuration; also add new pkg-config flag for falling back to non-pkg-config-based FFI library linkage.
  • v1.3.0.0 Changes

    • ๐Ÿ”จ This represents a major rewrite/refactoring of this package.

    • โž• Add support for generating version 1.0 hashes.

    • โž• Add support for controlling length of generated hash.

    • โž• Add support for hybrid Argon2id variant.

    • โž• Add NFData instances.

    • 0๏ธโƒฃ Defaults in defaultHashOptions changed to the current ones from the upstream argon2 executable.

    • Replace Argon2Exception by more direct Argon2Status enumeration; report failures purely via Either rather than by throwing as exceptions.

    • ๐Ÿ“‡ Rename verify to verifyEncoded and return more informative Argon2Status result instead of Bool.

    • ๐Ÿš€ Embedded phc-winner-argon2 version updated to release 20171227.

    • Mangle names of global symbols from phc-winner-argon2 to reduce risk of symbol clashes at the C ABI level.

    • โž• Add support for libargon2's optimised C routines on x86_64 (can be disabled via new non-optimised-c cabal flag).

    • ๐Ÿ›  Fix potential memory leak.

  • v1.2.0 Changes

    • โšก๏ธ Updated embedded phc-winner-argon2, so that hashes are generated using version 1.3 of the argon2 specification.

    Note that that hashes generated using this version are different than hashes generated using previous versions, so anything that compares them or relies on them being stable may be broken by this update. However, Crypto.Argon2.verify will continue to be able to verify hashes produced by previous versions.

    • ๐Ÿ— Use CSize for portability instead of Word64, fixing build on 32 bit systems. This changed the constructors of Argon2Exception, an API change.

    • ๐Ÿ› Bug fix: Crypto.Argon2.hash returned a ByteString truncated at the first NULL.

    • โž• Added use-system-library build flag.

    • ๐Ÿ— Build against base-4.9

  • v1.1.0 Changes

    • ๐Ÿ“š First stable release. Same API as 1.0.0, but now features documentation and expected type class instances for data types.

    • QuickCheck properties added:

    1. verify (hashEncoded options password salt) password == True
    2. hash options password salt /= password
    • hash now uses the underlying "raw" hash routines, rather than the encoded routines. This was a bug in 1.0.0. Thanks to @jorgen for this fix.

    • verify added, in order to correctly verify that a password matches an encoded password.

    • 0๏ธโƒฃ defaultHashOptions are now more expensive.

  • v1.0.0 Changes

    • ๐ŸŽ‰ Initial release