v4.0.0
4.0.0 (2020-04-23)
Bug Fixes
- compatibility with previous node versions (6a4ad02)
Features
- built-in key caching (5d41468)
BREAKING CHANGES
-
- initialization parameters changed (password is passed during initialization, passwordSaltSize and iterationCount can no longer be changed)
- encrypt, decrypt signature changed (password is passed during initialization, not during encrypt/decrypt)
- encryptWithKey, decryptWithKey, generateKey, generateSalt, getSaltFromEncrypted methods are no longer exposed
Co-authored-by: Dora Sztanko dora.sztanko@emarsys.com