Commit 8f8367cb by BellCodeEditor

save project

parent b6bb0d65
Showing with 3 additions and 2 deletions
import random
shuru=input("请输入要加入的语句:")
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
......@@ -13,6 +13,6 @@ for i in message:
text=str+key1+key2
key_message=key_message+text
list_message=list(key_message)
list_massage.insert(random.randint(0,len(message)),"!@#$%^&*")
list_massage.insert(random.randint(0,len(message)),shuru)
result_message="".join(list_message)
print(key_message)
\ 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