Commit acb4bdc0 by BellCodeEditor

save project

parent 41bd4a5f
Showing with 3 additions and 0 deletions
...@@ -14,7 +14,10 @@ for i in message: ...@@ -14,7 +14,10 @@ for i in message:
text=str1+str3+str2 text=str1+str3+str2
key_massage=key_massage+text key_massage=key_massage+text
list_massage=list(key_massage) list_massage=list(key_massage)
len(key_massage)
list_massage.insert(10,ma) list_massage.insert(10,ma)
index=random.randint(0,len(key_massage))
list_massage.insert(index,ma)
final="".join(list_massage) final="".join(list_massage)
print(key_massage) print(key_massage)
# 请使用私钥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