Commit e66a27e3 by BellCodeEditor

save project

parent c4ba27b5
Showing with 2 additions and 1 deletions
...@@ -3,6 +3,7 @@ import random ...@@ -3,6 +3,7 @@ import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
text="" text=""
ooo=就卡死死了 ooo=就卡死死了
...@@ -13,6 +14,6 @@ for i in message: ...@@ -13,6 +14,6 @@ for i in message:
sit3=random.choice(key) sit3=random.choice(key)
text=sit2+sit3+sit1+text text=sit2+sit3+sit1+text
list(message) list(message)
list_message.insert(random.randint(1,10)) list_message.insert(random.randint(0,len(list_message)))
print(text) print(text)
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