bitwise-xor

Bitwise XOR between two Buffers or Strings, returns a Buffer

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bitwise-xor
0.0.09 years ago9 years agoMinified + gzip package size for bitwise-xor in KB

Readme

node-bitwise-xor
Build
Status
Returns a Buffer of the result of bitwise XOR operation between two Buffers or Strings

Example

var xor = require('bitwise-xor');

xor(new Buffer('00ff', 'hex'), new Buffer('3344', 'hex'))

// returns <Buffer 33 bb>

Install

npm install bitwise-xor

License

MIT