@elastic/node-crypto
v1.2.3
Published
Easy (yet strong) encryption and decryption facilities for Node.js
Downloads
104,820
Maintainers
Keywords
Readme
node-crypto
This node module that can be used for easily encrypting and decrypting serializable objects. The ease-of-use comes from the fact that this module is opinionated in its (strong) choice of cryptographic algorithms, lengths, and iterations that cannot be overriden by its users.
Currently, all versions of this library are able to decrypt secrets encrypted with previous versions. However, version 1.0.0 introduced the ability to use an optional AAD when encrypting/decrypting secrets.
Maintainers Notes
If you change encryption parameters so that the encrypted result is different from what the current latest release of this library would produce, make sure to bump up the major version of the library before releasing it and ensure that you disclose this breaking change.