Commit 0a929766 by BellCodeEditor

auto save

parent e8b6d1ba
Showing with 9 additions and 2 deletions
......@@ -3,9 +3,11 @@ import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
message = "神里凌华,周末一起去稻妻 看吧!"
now_message=''
sb="nhhbvcbkcdf,f"
sb="/.,g./rta,.,g/rag,d/g,a./d,g.ar,g.s,g./es,.,g./,g.d,gesf.we,gfs.e/f,s.efs"
now_message2 = ''
# 请使用私钥key,对message进行加密
for i in message:
str1 = i
......@@ -15,3 +17,8 @@ for i in message:
now_message = now_message+w
print(now_message)
now_message= list(now_message)
now_message.insert(3,sb)
print(now_message)
now_message2 = ''.join(now_message)
print(now_message2)
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