Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

cryptun

1.0.7 • Public • Published

Crypto wrapper with Mcrypt ecncryption, like php.

For example:

require_once 'cryptun.php';
$cr = new cryptun;

var a = cr.en('Hello World!'); // dFUYCkTqDjt568L+bPfLmw==
var b = cr.de('dFUYCkTqDjt568L+bPfLmw=='); //Hello World!

console.log(a);
console.log(b);

Keywords

install

npm i cryptun

Downloadsweekly downloads

10

version

1.0.7

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability