10000 GitHub - swiftyapp/cryptor: 🔐 Basic encrypt and decrypt node module
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

swiftyapp/cryptor

Repository files navigation

Swifty Cryptor

Basic encrypt and decrypt node module. DEPRECATED

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

About

🔐 Basic encrypt and decrypt node module

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  
0