Sha256: 7fbcb6d7c0577245f3fd84dc41c8ad97a48fe09382919970dcef8cbe6058948f
Contents?: true
Size: 206 Bytes
Versions: 43
Compression:
Stored size: 206 Bytes
Contents
module.exports = function xor (a, b) { var length = Math.min(a.length, b.length) var buffer = new Buffer(length) for (var i = 0; i < length; ++i) { buffer[i] = a[i] ^ b[i] } return buffer }
Version data entries
43 entries across 42 versions & 15 rubygems