Sha256: 808a0c864acf2850608814a6bc1697543258250300bf16b41615d558443768bb
Contents?: true
Size: 205 Bytes
Versions: 62
Compression:
Stored size: 205 Bytes
Contents
module.exports = xor; function xor(a, b) { var len = Math.min(a.length, b.length); var out = new Buffer(len); var i = -1; while (++i < len) { out.writeUInt8(a[i] ^ b[i], i); } return out; }
Version data entries
62 entries across 62 versions & 1 rubygems