python演示恺撒密码方法的加密和解密过程
下面展示 代码:CaesarEncryption.py# CaesarEncryption分别处理中文和英文# CaesarEncryptiondef caesarEncode(plaintext,bias=3): ciphertext = "" for char in plaintext: if "a" <= char <= "z": t = (ord(cha