Skip to content

cryptor 1.1.2

Install from the command line:
Learn more about npm packages
$ npm install @swiftyapp/cryptor@1.1.2
Install via package.json:
"@swiftyapp/cryptor": "1.1.2"

About this version

Swifty Cryptor

Basic encrypt and decrypt node module

CircleCI

Install

yarn add @swiftyapp/cryptor

or

npm install @swiftyapp/cryptor

Use

const Cryptor = require("@swiftyapp/cryptor");

const cryptor = new Cryptor("secretpassword");

const encrypted = cryptor.encrypt("some sensitive data");
console.log(encrypted); // 79e103b37586b83002e92cc9...

const decrypted = cryptor.decrypt(encrypted);
console.log(decrypted); // some sensitive data

Details


Assets

  • cryptor-1.1.2-npm.tgz

Download activity

  • Total downloads 159
  • Last 30 days 7
  • Last week 1
  • Today 0

Recent versions

View all