diff --git a/src/core/lib/Typex.mjs b/src/core/lib/Typex.mjs new file mode 100644 index 00000000..a99f3b6e --- /dev/null +++ b/src/core/lib/Typex.mjs @@ -0,0 +1,183 @@ +/** + * Emulation of the Typex machine. + * + * @author s2224834 + * @copyright Crown Copyright 2019 + * @license Apache-2.0 + */ +import OperationError from "../errors/OperationError"; +import * as Enigma from "../lib/Enigma"; +import Utils from "../Utils"; + +export const ROTORS = [ + {name: "1", value: "QWECYJIBFKMLTVZPOHUDGNRSXA