0.2.3 • Published 3 years ago

xxtea v0.2.3

Weekly downloads
696
License
MIT
Repository
github
Last release
3 years ago

xxtea

npm download npm version License

Pure javascript xxtea encryption algorithm for Node.js.

Install

  npm install xxtea

Usage

var xxtea = require('xxtea');
var pass  = 'password';
// to encrypt
var encrypted = xxtea.encrypt('data to encrypt', pass);

// to decrypt
var decrypted = xxtea.decrypt(encrypted, pass);

API

xxtea

  • decrypt(string, password)
    • string - required - the data to be decrypted.
    • password - required - the password to be used in decryption.
  • encrypt(string, password)
    • string - required - the data to be encrypted.
    • password - required - the password to be used in encryption.
0.2.3

3 years ago

0.2.2

4 years ago

0.2.1

6 years ago

0.2.0

7 years ago

0.1.1

8 years ago

0.1.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago