Commit a24cffbf by BellCodeEditor

auto save

parent db11b2f1
Showing with 10 additions and 3 deletions
...@@ -7,14 +7,21 @@ message = "诺依,周末一起去看动漫展吧!" ...@@ -7,14 +7,21 @@ message = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
finally_key="" finally_key=""
noice="&随便#!写5^"
for i in message: for i in message:
str1=i str1=i
str2 = random.choice(key) str2 = random.choice(key)
str3 = random.choice(key) str3 = random.choice(key)
text=str1+str2+str3 text=str1+str2+str3
finally_key=finally_key+text finally_key=finally_key+text
print(finally_key) list_key=list(finally_key)
index = random.randint(0,len(list_key))
list_key.insert(index,noice)
result_key="".join(list_key)
print(result_key)
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