Skip to content

Releases: bitanon/hashlib

Version 1.18.0

06 Jul 12:56
Compare
Choose a tag to compare
  • Implement BCrypt algorithm.
    • New class: Bcrypt
    • New methods: bcrypt, bcryptSalt, bcryptVerify, bcryptDigest
  • Convert all asUint...List to Uint...List.view
  • Refactor: Argon2.fromEncoded will now accept CryptData only.
  • New method: Argon2Context.fromEncoded accepting CryptData.

Full Changelog: 1.17.0...1.18.0

Version 1.17.0

29 Jun 13:20
Compare
Choose a tag to compare
  • Update Argon2 interface:
    • Paramters salt and hashLength are now optional.
    • If absent, salt is generated using default random generator.
    • Default hash length is now 32 instead of 24.
    • Extracts method Argon2Security.optimize -> tuneArgon2Security
  • Put deprecation message on string extensions
  • Update benchmarks

Full Changelog: 1.16.0...1.17.0

1.16.0

12 May 09:02
Compare
Choose a tag to compare
  • Implement SM3 algorithm.
    • New constant: sm3
    • New method: sm3sum

Full Changelog: 1.15.0...1.16.0

Version 1.15.0

11 May 12:11
Compare
Choose a tag to compare

What's Changed

  • Expose currentTime in TOTP #24
  • Add MD4 implementation. by @elliotwutingfeng in #23
    • New constant: md4
    • New method: md4sum

New Contributors

Full Changelog: 1.14.0...1.15.0

Version 1.14.0

11 May 12:15
Compare
Choose a tag to compare
  • Accept random number generator input in the following method parameters:
    • randomBytes
    • fillRandom
  • Adds new method to generate 32-bit random numbers: randomNumbers
  • Adds KeccakRandom as proof of concept random number generator.

Full Changelog: 1.13.1...1.14.0

Version 1.13.1

17 Apr 18:54
Compare
Choose a tag to compare
  • Expose Poly1305Sink to public.

Full Changelog: 1.13.0...1.13.1

Version 1.13.0

17 Apr 18:53
Compare
Choose a tag to compare
  • Breaking changes on public methods:
    • renames poly1305 -> poly1305pair
    • renames poly1305auth -> poly1305
    • accepts 16 bytes key for poly1305
  • Refactor Poly1305 class structure.
    Breaking changes:
    • renames Poly1305.auth -> Poly1305.pair
    • removes getter secret (key contains both keypair).
  • Refactor benchmark calculation.

Full Changelog: 1.12.1...1.13.0

Version 1.12.1

13 Apr 14:15
Compare
Choose a tag to compare
  • Optimize HMAC runtime.
  • Refactor Argon2 class structure.
    Breaking changes:
    • renames variable: lanes to parallelism
    • renames variable: passes to iterations
  • Bump version of the hashlib_codecs

Full Changelog: 1.12.0...1.12.1

Version 1.12.0

25 Aug 11:17
Compare
Choose a tag to compare
  • Breaking: The HashDigest.base32 and HashDigest.base64 will have padding by default.
  • Bump version of the hashlib_codecs

Full Changelog: 1.11.4...1.12.0

Version 1.11.4

29 May 09:34
Compare
Choose a tag to compare
  • Move codecs to separate package: hashlib_codecs
  • Support BigInt conversion in HashDigest
    • Renames remainder -> number
    • Adds bigInt method to get BigInt from bytes

Full Changelog: 1.11.3...1.11.4