1.2.0 • Published 6 years ago

dcrypto v1.2.0

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

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago