npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

base64-xor

0.10.0 • Public • Published

base64-xor

Simple Node.js module that creates a base64 encoded xor cipher from a pair of strings. Includes 2 methods encode / decode. For use when speed is important and security is not.

Usage

 
//include module
var xor = require('base64-xor');
 
//encode takes two paramaters: key (utf8), data (utf8)
xor.encode('abc','123');
//output: UFBQ
 
//decode takes two parameters: key (utf8), data (base64)
xor.decode('abc','UFBQ');
//output: 123
 

Keywords

none

install

npm i base64-xor

Downloadsweekly downloads

351

version

0.10.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability