New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@metarouter/cryptobject

Package Overview
Dependencies
Maintainers
8
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metarouter/cryptobject

Traverse a given object and encrypt/decrypt the strings with AES.

latest
npmnpm
Version
2.0.1
Version published
Weekly downloads
2
Maintainers
8
Weekly downloads
 
Created
Source

cryptobject

CircleCI

cryptobject provides AES256 encryption to every string value in an object.

Installation

npm install --save cryptobject

Usage

To use cryptobject, simply import the package and call one of encrypt or decrypt to create encrypt or decrypt an object.

Usage

const { encrypt, decrypt } = require('cryptobject')('passphrase');

const obj = { 'key': 'value' };

const encryptedObject = encrypt(obj);
const decrytpedObject = decrypt(encryptedObject);

License

MIT

FAQs

Package last updated on 15 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts