@elastic/node-crypto
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.1 • Public • Published

    node-crypto

    Easy (yet strong) encryption and decryption facilities for Node.js

    npm version

    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.

    Keywords

    none

    Install

    npm i @elastic/node-crypto

    DownloadsWeekly Downloads

    4,328

    Version

    1.2.1

    License

    Apache-2.0

    Unpacked Size

    20.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar