mirror of
https://github.com/gchq/CyberChef
synced 2025-12-18 17:23:50 +00:00
Replaced jsHint with eslint. Fixes #4.
This commit is contained in:
@@ -32,9 +32,9 @@ var BitwiseOp = {
|
||||
for (var i = 0; i < input.length; i++) {
|
||||
k = key[i % key.length];
|
||||
o = input[i];
|
||||
x = null_preserving && (o === 0 || o == k) ? o : func(o, k);
|
||||
x = null_preserving && (o === 0 || o === k) ? o : func(o, k);
|
||||
result.push(x);
|
||||
if (scheme != "Standard" && !(null_preserving && (o === 0 || o == k))) {
|
||||
if (scheme !== "Standard" && !(null_preserving && (o === 0 || o === k))) {
|
||||
switch (scheme) {
|
||||
case "Input differential":
|
||||
key[i % key.length] = x;
|
||||
|
||||
Reference in New Issue
Block a user