newsource-crypto-module
v2.0.0
Published
Contains cryptography utility classes
Downloads
9
Maintainers
Readme
Overview
Custom crypto module.
Installation
npm install --save newsource-crypto-module
Setup
import { Crypto } from "newsource-crypto-module";
// Minimum required configuration
const CryptoInstance = new Crypto({
algorithm: process.env.CRYPTO_ALGORITHM,
iv: process.env.CRYPTO_IV,
key: process.env.CRYPTO_KEY
})