bitwise-xor
Version:
Bitwise XOR between two Buffers or Strings, returns a Buffer
23 lines (15 loc) • 433 B
Markdown
# node-bitwise-xor
[](https://travis-ci.org/czzarr/node-bitwise-xor)
Returns a Buffer of the result of bitwise XOR operation between two
Buffers or Strings
## Example
```javascript
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