Skip to content

Releases: bitanon/hashlib

Version 1.20.3

14 Jun 04:49
Compare
Choose a tag to compare
  • Exports hashlib_codecs from current package. To get it: import 'package:hashlib/codecs.dart';

Full Changelog: v1.20.2...v1.20.3

Version 1.20.2

14 Jun 04:49
Compare
Choose a tag to compare
  • Modifies interface for Poly1305

Full Changelog: v1.20.1...v1.20.2

Version 1.20.1

14 Jun 04:50
Compare
Choose a tag to compare
  • Modifies MACHash and MACHashBase interfaces for accessibility.

Full Changelog: v1.20.0...v1.20.1

Version 1.20.0

14 Jun 04:50
Compare
Choose a tag to compare
  • codecov
  • Fixes issue in shake128generator and shake256generator: wrong bytes sequence after 168th and 136th.
  • Fixes number for 64-bit integer output in HashDigest
  • Fixes oct for octal string outupt in HashDigest
  • Bump version for hashlib_codecs
  • [Breaking Changes]:
    • Refactors HashBase and MACHashBase
    • Renames argon2verify -> argon2Verify
    • Renames poly1305auth -> poly1305auth, and removes poly1305pair
    • Removes for tuneArgon2Security. It has been moved to examples folder.
    • Interfaces for hmac, pbkdf2, Blake2bMAC and BLAKE2sMAC
    • Duration for period in TOTP.

Full Changelog: v1.19.2...v1.20.0

Version 1.19.2

14 Jun 04:50
Compare
Choose a tag to compare

What's Changed

  • Expose infinite generator methods for SHAKE by @st1020 in #27
    • shake128generator
    • shake256generator
  • Generalize the random seed list generation to support web
  • Expose methods to get padded string value from TOTP: #28
    • valueString
    • streamString

New Contributors

Full Changelog: v1.19.1...v1.19.2

Version 1.19.1

14 Jun 04:50
Compare
Choose a tag to compare
  • Improve support for random generator
    • HashlibRandom class for generating random number, bool, strings etc.
    • Refactor KeccakRandom to be available as HashlibRandom.keccak
    • Adds fillNumbers to fill List with random integers.
    • Use secure random generator by default
  • [Breaking Changes]:
    • Remove all deprecated string extension
    • Remove consume, use bind instead.
    • consumeAs is renamed to stringStraem .
    • Introduced byteStream

Full Changelog: v1.18.1...v1.19.1

Version 1.18.1

14 Jun 04:50
Compare
Choose a tag to compare
  • Fix import issue for web platform.

Full Changelog: v1.18.0...v1.18.1

Version 1.18.0

14 Jun 04:51
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: v1.17.0...v1.18.0

Version 1.17.0

14 Jun 04:51
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: v1.16.0...v1.17.0

1.16.0

14 Jun 04:51
Compare
Choose a tag to compare
  • Implement SM3 algorithm.
    • New constant: sm3
    • New method: sm3sum

Full Changelog: v1.15.0...v1.16.0