node-bitwise-xor icon indicating copy to clipboard operation
node-bitwise-xor copied to clipboard

Returns a Buffer of the result of bitwise XOR operation between two Buffers or Strings

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