{"_id":"buffer-xor","_rev":"89897","name":"buffer-xor","description":"A simple module for bitwise-xor on buffers","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"time":{"modified":"2021-06-03T10:29:22.000Z","created":"2015-05-21T05:17:46.626Z","2.0.2":"2017-08-21T13:46:38.904Z","2.0.1":"2016-03-13T05:18:21.254Z","2.0.0":"2016-03-11T22:58:04.390Z","1.0.3":"2015-09-25T07:15:16.477Z","1.0.2":"2015-05-21T05:21:50.497Z","1.0.1":"2015-05-21T05:19:08.254Z","1.0.0":"2015-05-21T05:17:46.626Z"},"users":{},"author":{"name":"Daniel Cousens"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-xor.git"},"versions":{"2.0.2":{"name":"buffer-xor","version":"2.0.2","description":"A simple module for bitwise-xor on buffers","files":["index.js","inplace.js"],"main":"index.js","scripts":{"standard":"standard","test":"npm run standard && npm run unit","unit":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-xor.git"},"bugs":{"url":"https://github.com/crypto-browserify/buffer-xor/issues"},"homepage":"https://github.com/crypto-browserify/buffer-xor","keywords":["bits","bitwise","buffer","buffer-xor","crypto","inline","math","memory","performance","xor"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"standard":"*","tape":"*"},"dependencies":{"safe-buffer":"^5.1.1"},"gitHead":"9ccb25fcb6afa96d23e96da837e7d3379475a954","_id":"buffer-xor@2.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"dcousens","email":"npm@dcousens.com"},"dist":{"shasum":"34f7c64f04c777a1f8aac5e661273bb9dd320289","size":1856,"noattachment":false,"key":"/buffer-xor/-/buffer-xor-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-xor/download/buffer-xor-2.0.2.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/buffer-xor-2.0.2.tgz_1503323198580_0.12606958695687354"},"directories":{},"publish_time":1503323198904,"_hasShrinkwrap":false,"_cnpm_publish_time":1503323198904},"2.0.1":{"name":"buffer-xor","version":"2.0.1","description":"A simple module for bitwise-xor on buffers","files":["index.js","inplace.js"],"main":"index.js","scripts":{"standard":"standard","test":"npm run standard && npm run unit","unit":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-xor.git"},"bugs":{"url":"https://github.com/crypto-browserify/buffer-xor/issues"},"homepage":"https://github.com/crypto-browserify/buffer-xor","keywords":["bits","bitwise","buffer","buffer-xor","crypto","inline","math","memory","performance","xor"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"standard":"*","tape":"*"},"gitHead":"5b2d03d4661236924902a299cc073347c358708d","_id":"buffer-xor@2.0.1","_shasum":"ba4d421d30b91a1440441f39f26d8a235e43b8d0","_from":".","_npmVersion":"3.8.0","_nodeVersion":"5.8.0","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"dist":{"shasum":"ba4d421d30b91a1440441f39f26d8a235e43b8d0","size":1827,"noattachment":false,"key":"/buffer-xor/-/buffer-xor-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-xor/download/buffer-xor-2.0.1.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/buffer-xor-2.0.1.tgz_1457846300724_0.5908564073033631"},"directories":{},"publish_time":1457846301254,"_cnpm_publish_time":1457846301254,"_hasShrinkwrap":false},"2.0.0":{"name":"buffer-xor","version":"2.0.0","description":"A simple module for bitwise-xor on buffers","main":"index.js","scripts":{"standard":"standard","test":"npm run-script unit","unit":"mocha"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-xor.git"},"bugs":{"url":"https://github.com/crypto-browserify/buffer-xor/issues"},"homepage":"https://github.com/crypto-browserify/buffer-xor","keywords":["bits","bitwise","buffer","buffer-xor","crypto","inline","math","memory","performance","xor"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"mocha":"*","standard":"*"},"gitHead":"83025b66219da45f75463a3a1431abb4f5ed127e","_id":"buffer-xor@2.0.0","_shasum":"617efcb4361324b96725313e75d5413da32c7a62","_from":".","_npmVersion":"3.8.0","_nodeVersion":"5.8.0","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"dist":{"shasum":"617efcb4361324b96725313e75d5413da32c7a62","size":2289,"noattachment":false,"key":"/buffer-xor/-/buffer-xor-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-xor/download/buffer-xor-2.0.0.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/buffer-xor-2.0.0.tgz_1457737083942_0.2049625653307885"},"directories":{},"publish_time":1457737084390,"_cnpm_publish_time":1457737084390,"_hasShrinkwrap":false},"1.0.3":{"name":"buffer-xor","version":"1.0.3","description":"A simple module for bitwise-xor on buffers","main":"index.js","scripts":{"standard":"standard","test":"npm run-script unit","unit":"mocha"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-xor.git"},"bugs":{"url":"https://github.com/crypto-browserify/buffer-xor/issues"},"homepage":"https://github.com/crypto-browserify/buffer-xor","keywords":["bits","bitwise","buffer","buffer-xor","crypto","inline","math","memory","performance","xor"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"mocha":"*","standard":"*"},"gitHead":"8f92b79a8b8133c26a7ae1af09b2c84ec6e3f426","_id":"buffer-xor@1.0.3","_shasum":"26e61ed1422fb70dd42e6e36729ed51d855fe8d9","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.1","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"dist":{"shasum":"26e61ed1422fb70dd42e6e36729ed51d855fe8d9","size":2294,"noattachment":false,"key":"/buffer-xor/-/buffer-xor-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-xor/download/buffer-xor-1.0.3.tgz"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"directories":{},"publish_time":1443165316477,"_cnpm_publish_time":1443165316477,"_hasShrinkwrap":false},"1.0.2":{"name":"buffer-xor","version":"1.0.2","description":"buffer-xor","main":"index.js","scripts":{"standard":"standard","test":"npm run-script unit","unit":"mocha"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/buffer-xor.git"},"bugs":{"url":"https://github.com/crypto-browserify/buffer-xor/issues"},"homepage":"https://github.com/crypto-browserify/buffer-xor","keywords":["bits","bitwise","buffer","buffer-xor","crypto","inline","math","memory","performance","xor"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"mocha":"*","standard":"*"},"gitHead":"79c37eb7669b62639b0f4b018aaf155e72d7e204","_id":"buffer-xor@1.0.2","_shasum":"231e44571f644bde0789026f61de6e923167124a","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.3","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"dist":{"shasum":"231e44571f644bde0789026f61de6e923167124a","size":2253,"noattachment":false,"key":"/buffer-xor/-/buffer-xor-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-xor/download/buffer-xor-1.0.2.tgz"},"directories":{},"publish_time":1432185710497,"_cnpm_publish_time":1432185710497,"_hasShrinkwrap":false},"1.0.1":{"name":"buffer-xor","version":"1.0.1","description":"buffer-xor","main":"index.js","scripts":{"standard":"standard","test":"npm run-script unit","unit":"mocha"},"repository":{"type":"git","url":"git+https://github.com/dcousens/node-buffer-xor.git"},"bugs":{"url":"https://github.com/dcousens/node-buffer-xor/issues"},"homepage":"https://github.com/dcousens/node-buffer-xor","keywords":["bits","bitwise","buffer","buffer-xor","crypto","inline","math","memory","performance","xor"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"mocha":"*","standard":"*"},"gitHead":"3c08bdde2a5596cadba750ba323864628081b027","_id":"buffer-xor@1.0.1","_shasum":"484c6b8824616ffc0f3b7c573964bc63cb919312","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.3","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"dist":{"shasum":"484c6b8824616ffc0f3b7c573964bc63cb919312","size":2246,"noattachment":false,"key":"/buffer-xor/-/buffer-xor-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-xor/download/buffer-xor-1.0.1.tgz"},"directories":{},"publish_time":1432185548254,"_cnpm_publish_time":1432185548254,"_hasShrinkwrap":false},"1.0.0":{"name":"buffer-xor","version":"1.0.0","description":"buffer-xor","main":"index.js","scripts":{"standard":"standard","test":"npm run-script unit","unit":"mocha"},"repository":{"type":"git","url":"git+https://github.com/dcousens/buffer-xor.git"},"bugs":{"url":"https://github.com/dcousens/buffer-xor/issues"},"homepage":"https://github.com/dcousens/buffer-xor","keywords":["bits","bitwise","buffer","buffer-xor","crypto","inline","math","memory","performance","xor"],"author":{"name":"Daniel Cousens"},"license":"MIT","devDependencies":{"mocha":"*","standard":"*"},"gitHead":"92dfa299b905bcf6b3cfe79b13b982c236c23940","_id":"buffer-xor@1.0.0","_shasum":"f465d14bce87deecb6ab09aad686fabdffb7b5ea","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.3","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"maintainers":[{"name":"dcousens","email":"email@dcousens.com"},{"name":"ljharb","email":""}],"dist":{"shasum":"f465d14bce87deecb6ab09aad686fabdffb7b5ea","size":2240,"noattachment":false,"key":"/buffer-xor/-/buffer-xor-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/buffer-xor/download/buffer-xor-1.0.0.tgz"},"directories":{},"publish_time":1432185466626,"_cnpm_publish_time":1432185466626,"_hasShrinkwrap":false}},"readme":"# buffer-xor\n\n[![NPM Package](https://img.shields.io/npm/v/buffer-xor.svg?style=flat-square)](https://www.npmjs.org/package/buffer-xor)\n[![Build Status](https://img.shields.io/travis/crypto-browserify/buffer-xor.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/buffer-xor)\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nA simple module for bitwise-xor on buffers.\n\n\n## Examples\n\n``` javascript\nvar xor = require('buffer-xor')\nvar a = new Buffer('00ff0f', 'hex')\nvar b = new Buffer('f0f0', 'hex')\n\nconsole.log(xor(a, b))\n// => <Buffer f0 0f 0f>\n```\n\n\nOr for those seeking those few extra cycles, perform the operation in place with\n`xorInplace`:\n\n_NOTE: `xorInplace` won't xor past the bounds of the buffer it mutates so make\nsure it is long enough!_\n\n``` javascript\nvar xorInplace = require('buffer-xor/inplace')\nvar a = new Buffer('00ff0f', 'hex')\nvar b = new Buffer('f0f0', 'hex')\n\nconsole.log(xorInplace(a, b))\n// => <Buffer f0 0f 0f>\n\n// See that a has been mutated\nconsole.log(a)\n// => <Buffer f0 0f 0f>\n```\n\n\n## License [MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/crypto-browserify/buffer-xor","bugs":{"url":"https://github.com/crypto-browserify/buffer-xor/issues"},"license":"MIT"}