Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@thibaultcha thibaultcha released this 07 Dec 00:37
· 15 commits to master since this release
3.0.0

Changed

  • ⚠️ This version is only compatible with Argon2
    20160406
    and later.
  • ⚠️ Renamed the encrypt() function to hash_encoded(), in order to
    carry a stronger meaning and to eventually implement a hash_raw() function
    in the future.
  • New variants field with supported Argon2 encoding variants (as userdatum).
    See documentation and the "Added" section of this Changelog.
  • Updated the default hashing options to match those of the Argon2 CLI:
    t_cost = 3, m_cost = 4096, parallelism = 1, hash_len = 32.

Added

  • 🌠 Support for Argon2id encoding variant.
    #24
  • We now automatically compute the length of the retrieved encoded hash from
    encrypt(). #21
  • New option: hash_len.
    #22
  • Return errors from verify(). A mismatch now returns false, nil, while an
    error will return nil, "err string".
    #23
  • ANSI C compatibility.
    #27