Sign in
cobalt
/
cobalt
/
refs/tags/23.lts.1
/
.
/
third_party
/
devtools
/
node_modules
/
public-encrypt
/
xor.js
blob: 10d2764e87e89355f4fb891913bea19b7994fae8 [
file
] [
log
] [
blame
]
module
.
exports
=
function
xor
(
a
,
b
)
{
var
len
=
a
.
length
var
i
=
-
1
while
(++
i
<
len
)
{
a
[
i
]
^=
b
[
i
]
}
return
a
}