0.2.3 • Published 4 years ago

xxtea v0.2.3

Weekly downloads
696
License
MIT
Repository
github
Last release
4 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

4 years ago

0.2.2

5 years ago

0.2.1

7 years ago

0.2.0

8 years ago

0.1.1

10 years ago

0.1.0

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago