deno.land / std@0.177.1 / node / _crypto / crypto_browserify / public_encrypt / xor.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.// Copyright 2017 Calvin Metcalf. All rights reserved. MIT license.
export function xor(a, b) { const len = a.length; let i = -1; while (++i < len) { a[i] ^= b[i]; } return a;}
std

Version Info

Tagged at
2 years ago