Version 1.6.0
- Optimize Argon2 (Now it is 6 times faster than 1.5.0)
- Support for Argon2 in Node platform (TODO: requires optimization)
- Renames
Argon2Context->Argon2with the following change:convert()will generate password hash and return anArgon2HashDigestencode()will generate password hash and return argon2 encoded string.toInstance()is renamed toinstanceto get a singleton instance.- The method
encode()is renamed toconvert()inside theinstance.
- Adds
Argon2Securityexposing some default parameter choices which can be used with these quick access functions:argon2dargon2iargon2id
- Argon2 will now return the
Argon2HashDigest, containing a few changes overHashDigest:encoded()will return the argon2 hash as encoded format.toString()will return the encoded hash instead of the password hash.
- Implement custom
toBase64andfromBase64in utils for faster conversion without padding. - Changes to
HashDigest:- merge
base64andbase64urlmethods into one. - uses custom base64 conversion that does not include
=padding. - removes
lantin1
- merge
Full Changelog: v1.5.0...v1.6.0