New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

base64-xor

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base64-xor

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.

latest
Source
npmnpm
Version
0.10.0
Version published
Weekly downloads
350
-6.91%
Maintainers
1
Weekly downloads
 
Created
Source

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

base64

FAQs

Package last updated on 15 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts