fr = open('plainText.txt',mode='r',encoding='utf-8') plainText = fr.read() print('明文:'+plainText) print('密文:',end='') fw = open('cipherText.txt',mode='a',encoding='utf-8') for c in plainText: print(chr(ord(c)+3),end='')
posted on 2018-05-28 16:14 Paris- 阅读(108) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 Paris- Powered by .NET 9.0 on Kubernetes