Commit b8cbed84 by BellCodeEditor

save project

parent f88433af
Showing with 5 additions and 3 deletions
import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!""
key2=",c xhgj hgjs hguhr ihwoubha;'niuth wehj nb bzchvuryt7ypp48tq9qe8489204ow4tW$YR^UH &%UY%*%&"
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
message_text=""
......@@ -13,4 +12,7 @@ for i in message:
text=str1+str2+str3
message_text=message_text+text
print(message_text)
lst=list(message_text)
lst.insert(4,key2)
result="".join(lst)
print(result)
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