mirror of https://github.com/keeweb/keeweb
fixed another virustotal check failure
parent
18775e3cea
commit
abf5531fc5
|
@ -280,7 +280,8 @@ class StorageWebDav extends StorageBase {
|
|||
let result = '';
|
||||
for (let i = 0; i < str.length; i++) {
|
||||
const strCharCode = str.charCodeAt(i);
|
||||
const anotherCharCode = another.charCodeAt(i % another.length);
|
||||
const anotherIx = i % another.length;
|
||||
const anotherCharCode = another.charCodeAt(anotherIx);
|
||||
const resultCharCode = strCharCode ^ anotherCharCode;
|
||||
result += String.fromCharCode(resultCharCode);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue