Commit 78de17b7 by BellCodeEditor

save project

parent 30f264b7
Showing with 2 additions and 2 deletions
...@@ -7,7 +7,7 @@ message = "诺依,周末一起去看动漫展吧!" ...@@ -7,7 +7,7 @@ message = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
p="" p=""
noise="klkhgy" noise="klkhgy12356"
for i in message: for i in message:
str1=i str1=i
str2=random.choice(key) str2=random.choice(key)
...@@ -15,7 +15,7 @@ for i in message: ...@@ -15,7 +15,7 @@ for i in message:
text=str1+str2+str3 text=str1+str2+str3
p=p+text p=p+text
a=list(p) a=list(p)
a.insert(2,noise) a.insert(random.randint(1,len(a)) ,noise)
b="".join(a) b="".join(a)
print(b) print(b)
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