Sha256: 9fe44a8a4120dfdb3ea906934852d116d6278c64e3dc2f44e1737fa1e0bd5521

Contents?: true

Size: 131 Bytes

Versions: 14

Compression:

Stored size: 131 Bytes

Contents

module.exports = function xor(a, b) {
  var len = a.length;
  var i = -1;
  while (++i < len) {
    a[i] ^= b[i];
  }
  return a
};

Version data entries

14 entries across 14 versions & 7 rubygems

Version Path
optimacms-0.4.3 spec/dummy/node_modules/public-encrypt/xor.js
optimacms-0.4.2 spec/dummy/node_modules/public-encrypt/xor.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/public-encrypt/xor.js
locomotivecms-3.4.0 app/javascript/node_modules/public-encrypt/xor.js
cortex-0.1.3 spec/dummy/node_modules/public-encrypt/xor.js
dragonfly_puppeteer-0.1.0 node_modules/public-encrypt/xor.js
lanes-0.8.0 node_modules/public-encrypt/xor.js
minimum_viable_product-0.0.11 test/dummy/node_modules/public-encrypt/xor.js
brwy_rails-0.0.6 test/dummy/node_modules/public-encrypt/xor.js
brwy_rails-0.0.5 test/dummy/node_modules/public-encrypt/xor.js
brwy_rails-0.0.4 test/dummy/node_modules/public-encrypt/xor.js
brwy_rails-0.0.3 test/dummy/node_modules/public-encrypt/xor.js
brwy_rails-0.0.2 test/dummy/node_modules/public-encrypt/xor.js
brwy_rails-0.0.1 test/dummy/node_modules/public-encrypt/xor.js