Sign in
apache
/
cordova-js
/
refs/heads/cb-4.2.3-node-modules-for-coho-only
/
.
/
node_modules
/
public-encrypt
/
xor.js
blob: aca81316745df5b4aeb30acc7ab1da19626e882a [
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
};