ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.188.143.21 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/cms/node_modules/buffer-xor/ |
Upload File : |
# buffer-xor [![TRAVIS](https://secure.travis-ci.org/crypto-browserify/buffer-xor.png)](http://travis-ci.org/crypto-browserify/buffer-xor) [![NPM](http://img.shields.io/npm/v/buffer-xor.svg)](https://www.npmjs.org/package/buffer-xor) [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) A simple module for bitwise-xor on buffers. ## Examples ``` javascript var xor = require("buffer-xor") var a = new Buffer('00ff0f', 'hex') var b = new Buffer('f0f0', 'hex') console.log(xor(a, b)) // => <Buffer f0 0f> ``` Or for those seeking those few extra cycles, perform the operation in place: ``` javascript var xorInplace = require("buffer-xor/inplace") var a = new Buffer('00ff0f', 'hex') var b = new Buffer('f0f0', 'hex') console.log(xorInplace(a, b)) // => <Buffer f0 0f> // NOTE: xorInplace will return the shorter slice of its parameters // See that a has been mutated console.log(a) // => <Buffer f0 0f 0f> ``` ## License [MIT](LICENSE)