Commit 59d9333f by BellCodeEditor

save project

parent 9dfd9ae7
Showing with 6 additions and 4 deletions
...@@ -2,6 +2,7 @@ GRZF="gwdufihcoqwhofcj3wofj" ...@@ -2,6 +2,7 @@ GRZF="gwdufihcoqwhofcj3wofj"
import random import random
key="abcdefghu嘎斯个股出现了起来就像我" key="abcdefghu嘎斯个股出现了起来就像我"
key_message= "" key_message= ""
messagekey=" "
# 私钥 # 私钥
random.choice(key)# 要加密语句 random.choice(key)# 要加密语句
...@@ -11,10 +12,10 @@ for i in message: ...@@ -11,10 +12,10 @@ for i in message:
str2=random.choice(key) str2=random.choice(key)
str3=random.choice(key) str3=random.choice(key)
text=str1+str2+str3 text=str1+str2+str3
messagekey=message+text messagekey=messagekey+text
print(messagekey)# 请使用私钥key,对message进行加密 print(messagekey)# 请使用私钥key,对message进行加密
key_message=list(message_key) key_message=list(messagekey)
key_message.insert(random(0,len(key_message)),GRZF) key_message.insert(5,GRZF)
key_message="".join(key_message) key_message_="".join(key_message)
print(key_message_) print(key_message_)
\ 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