Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

bitwise-xor

czzarr49.1kMIT0.0.0TypeScript support: definitely-typed

Bitwise XOR between two Buffers or Strings, returns a Buffer

bitwise, xor, buffer, string

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