Gazebo_simulation-Frontend/node_modules/public-encrypt/xor.js
2020-12-21 10:29:31 -05:00

9 lines
129 B
JavaScript

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