Skip to content

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.

License

Notifications You must be signed in to change notification settings

Aleph-Z/base64-xor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%