mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-14 18:25:16 -04:00
changed filterKey to false for testing XOR invalid characters error
This commit is contained in:
parent
42f6daa154
commit
765d5ee97b
1 changed files with 1 additions and 1 deletions
|
@ -982,7 +982,7 @@ smothering ampersand abreast`;
|
||||||
];
|
];
|
||||||
invalidKeys.forEach(invalidKey => {
|
invalidKeys.forEach(invalidKey => {
|
||||||
assert.throws(() => {
|
assert.throws(() => {
|
||||||
chef.XOR("fe023da5", { key: invalidKey });
|
chef.XOR("fe023da5", { key: invalidKey, filterKey: false });
|
||||||
}, /Invalid Characters in key/);
|
}, /Invalid Characters in key/);
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue