Commit d6af20ed by BellCodeEditor

save project

parent 8b11a940
Showing with 3 additions and 1 deletions
...@@ -3,7 +3,7 @@ import random ...@@ -3,7 +3,7 @@ import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
message = input('dfjd') message = input('dfjd:')
miwen='' miwen=''
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
...@@ -14,3 +14,4 @@ for i in range(len(message)): ...@@ -14,3 +14,4 @@ for i in range(len(message)):
d=a+b+c d=a+b+c
miwen=miwen+d miwen=miwen+d
print('.'*30,'加密后的文字内容','.'*30) print('.'*30,'加密后的文字内容','.'*30)
print(miwen)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment