Commit 237a1381 by BellCodeEditor

save project

parent 43e62137
Showing with 14 additions and 3 deletions
import random
#random.randint()
num = random.randint(-1,2)
print(num)
\ No newline at end of file
......@@ -13,9 +13,14 @@ for i in message:
text=str1+str2+str3
key_message=key_message+text
list_message=list(key_message)
list_message.insert(5,noise)
result_message="".join(list_message)
insex=random.randint(0,len(key_message))
list_message.insert(index.noise)
result_message+""
print(result_message)
# 请使用私钥key,对message进行加密
# 请使用私钥key,对message进行加密import random
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