Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 429 Bytes

File metadata and controls

22 lines (15 loc) · 429 Bytes

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