还有一个经典的实例——Enigma-machine。 通常的转轮机是有三个转子,这里我仿照着上关于Enigma-machine的模型,我采用C++写了两个转子的转轮机。 65); } } } int main() { int a; while (true) { cout << "You are welcome to use the two rotor Enigma-machine