@zenginehq/backend-crypto

1.0.0 • Public • Published

Backend Crypto

Helper module for working with encryption and decryption in Zengine backend plugins. Primarily a simple wrapper of cryptr.

Not to be used for password hashing.

Installation

npm i @zenginehq/backend-crypto

Usage

const znCrypto = require('@zenginehq/backend-crypto');

const encrypted = znCrypto.encrypt(config.cipherKey, 'my secret phrase');

const decrypted = znCrypto.decrypt(config.cipherKey, encrypted);

Dependents (0)

Package Sidebar

Install

npm i @zenginehq/backend-crypto

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.64 kB

Total Files

9

Last publish

Collaborators

  • chris.manjoine
  • dwmcnelis-wizehive
  • wizehive-jeremyf