mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Switched to val-loader and compiling MetaConfig
This commit is contained in:
parent
cb6708c02e
commit
c93edec55b
12 changed files with 226 additions and 762 deletions
|
@ -156,8 +156,8 @@ const BitwiseOp = {
|
|||
};
|
||||
|
||||
for (let key = 1, l = Math.pow(256, keyLength); key < l; key++) {
|
||||
if (key % 10000 === 0) {
|
||||
if (self) self.sendStatusMessage("Calculating " + l + " values... " + Math.floor(key / l * 100) + "%");
|
||||
if (key % 10000 === 0 && self) {
|
||||
self.sendStatusMessage("Calculating " + l + " values... " + Math.floor(key / l * 100) + "%");
|
||||
}
|
||||
|
||||
result = BitwiseOp._bitOp(input, intToByteArray(key, keyLength), BitwiseOp._xor, nullPreserving, scheme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue