Commit 097111d5 by BellCodeEditor

save project

parent 9ce24737
Showing with 9 additions and 5 deletions
...@@ -8,8 +8,12 @@ key_message="" ...@@ -8,8 +8,12 @@ key_message=""
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
for i in message: for i in message:
str1 = 1 str1 = 1
str2 = random.choice(key) str2 = random choice(key)
str3 = random.choice(key) str3 = random choice(key)
text = str1+str2+str3 text =str1+str2+str3
key_message = key_message + text key_message = key_message + text
print(key_message)
\ No newline at end of file list_messge = list(key_messge)
list_messge.insert(5, nosice)
result_messge = "".join(list_messge)
print(result_messge)
\ No newline at end of file
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