Releases: bitanon/hashlib
Releases · bitanon/hashlib
Version 1.20.3
- 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
- Modifies interface for
Poly1305
Full Changelog: v1.20.1...v1.20.2
Version 1.20.1
- Modifies
MACHash
andMACHashBase
interfaces for accessibility.
Full Changelog: v1.20.0...v1.20.1
Version 1.20.0
- Fixes issue in
shake128generator
andshake256generator
: wrong bytes sequence after 168th and 136th. - Fixes
number
for 64-bit integer output inHashDigest
- Fixes
oct
for octal string outupt inHashDigest
- Bump version for
hashlib_codecs
- [Breaking Changes]:
- Refactors
HashBase
andMACHashBase
- Renames
argon2verify
->argon2Verify
- Renames
poly1305auth
->poly1305auth
, and removespoly1305pair
- Removes for
tuneArgon2Security
. It has been moved to examples folder. - Interfaces for
hmac
,pbkdf2
,Blake2bMAC
andBLAKE2sMAC
- Duration for period in
TOTP
.
- Refactors
Full Changelog: v1.19.2...v1.20.0
Version 1.19.2
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
- Improve support for random generator
HashlibRandom
class for generating random number, bool, strings etc.- Refactor
KeccakRandom
to be available asHashlibRandom.keccak
- Adds
fillNumbers
to fill List with random integers. - Use secure random generator by default
- [Breaking Changes]:
- Remove all deprecated string extension
- Remove
consume
, usebind
instead. consumeAs
is renamed tostringStraem
.- Introduced
byteStream
Full Changelog: v1.18.1...v1.19.1
Version 1.18.1
- Fix import issue for web platform.
Full Changelog: v1.18.0...v1.18.1
Version 1.18.0
- Implement BCrypt algorithm.
- New class:
Bcrypt
- New methods:
bcrypt
,bcryptSalt
,bcryptVerify
,bcryptDigest
- New class:
- Convert all asUint...List to Uint...List.view
- Refactor:
Argon2.fromEncoded
will now acceptCryptData
only. - New method:
Argon2Context.fromEncoded
acceptingCryptData
.
Full Changelog: v1.17.0...v1.18.0
Version 1.17.0
- Update Argon2 interface:
- Paramters
salt
andhashLength
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
- Paramters
- Put deprecation message on string extensions
- Update benchmarks
Full Changelog: v1.16.0...v1.17.0
1.16.0
- Implement SM3 algorithm.
- New constant:
sm3
- New method:
sm3sum
- New constant:
Full Changelog: v1.15.0...v1.16.0