1.2.0 • Published 7 years ago

dcrypto v1.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

DCrypto

NPM version npm Build status GitHub license

Simple string crypto library

Installation

Use npm:

$ npm i dcrypto

Use yarn:

$ yarn add dcrypto

Usage

var DCrypto = require('dcrypto');

var seed = 0; // 0 - 255
var text = 'Hello World';

var encrypted = DCrypto.encrypt(text, seed);
var decrypted = DCrypto.decrypt(encrypted, seed);

console.log('encrypted:', encrypted);
console.log('decrypted:', decrypted);

Use in other language

1.2.0

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago