Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent between provinces and the capital in encrypted form to prevent eavesdropping. The most popular ciphers in those times were so called substitution cipher and permutation cipher. Substitution cipher changes all occurrences of each letter to some other letter. Substitutes for all letters must be different. For some letters substitute letter may coincide with the original letter. For example, applying substitution cipher that changes all letters from `A' to `
uva 1339 Ancient Cipher(字符串处理)
最新推荐文章于 2023-12-07 19:04:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)