t3h2mas / node-bitwise-xor

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:JavaScript 85.4%Language:Makefile 14.6%