Commit 08debc55 by BellCodeEditor

save project

parent 2a31c604
Showing with 7 additions and 3 deletions
...@@ -9,9 +9,13 @@ for i in message: ...@@ -9,9 +9,13 @@ for i in message:
str1=i str1=i
str2=random.choice(key) str2=random.choice(key)
str3=random.choice(key) str3=random.choice(key)
str4=random.choice(key2) #str4=random.choice(key2)
my+=str1+str2+str3+str4 my+=str1+str2+str3
print(my) list_message=list(my)
index=random.randint(0,len(my))
list_message.insert(index,key2)
zy="".join(list_message)
print(zy)
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
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