/** * 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"; /** * A set of example Typex rotors. No Typex rotor wirings are publicly available, so these are * randomised. */ export const ROTORS = [ {name: "Example 1", value: "MCYLPQUVRXGSAOWNBJEZDTFKHI