🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

lan_crypto

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lan_crypto

### Install

npmnpm
Version
1.0.2
Version published
Weekly downloads
8
-11.11%
Maintainers
1
Weekly downloads
 
Created
Source

lan_crypto

Install

npm install lan_crypto

Usage

var lan_crypto = require('./index.js');
var md5 = lan_crypto.md5();
var hash = md5.encode('hello world');
console.log('md5:',hash);

var aes128 = lan_crypto.aes128('key','iv');
var secret = aes128.encode('hello world');
var content = aes128.decode(secret);
console.log('aes128:',secret,content);


var aes256 = lan_crypto.aes256('key','iv');
var secret = aes256.encode('hello world');
var content = aes256.decode(secret);
console.log('aes256:',secret,content);

FAQs

Package last updated on 18 May 2016

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