mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-26 01:36:17 -04:00
Tidied up Bacon Cipher operations
This commit is contained in:
parent
f0b3bd0ede
commit
b31f32a7e7
5 changed files with 115 additions and 121 deletions
|
@ -1,11 +1,11 @@
|
|||
/**
|
||||
* BaconCipher tests.
|
||||
* Bacon Cipher tests.
|
||||
*
|
||||
* @author Karsten Silkenbäumer [github.com/kassi]
|
||||
* @copyright Karsten Silkenbäumer 2019
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
import TestRegister from "../TestRegister";
|
||||
import TestRegister from "../../lib/TestRegister";
|
||||
import { BACON_ALPHABETS, BACON_TRANSLATIONS } from "../../../src/core/lib/Bacon";
|
||||
|
||||
const alphabets = Object.keys(BACON_ALPHABETS);
|
||||
|
@ -242,9 +242,7 @@ TestRegister.addTests([
|
|||
args: [alphabets[1], translations[3], true]
|
||||
}
|
||||
],
|
||||
}
|
||||
]);
|
||||
TestRegister.addTests([
|
||||
},
|
||||
{
|
||||
name: "Bacon Encode: no input",
|
||||
input: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue