Commit 216fd6c8 by BellCodeEditor

save project

parent 8a852aaa
Showing with 8 additions and 3 deletions
......@@ -8,13 +8,18 @@ text=""
# 请使用私钥key,对message进行加密
d="asdaffascvsf"
key=list(key)
key.insert(2,d)
#print(key)
message=list(message)
message.insert(3,d)
message="".join(message)
print(message)
for i in message:
a=i
b=random.choice(key)
c=random.choice(key)
text+=a+b+c
b=random.randint(0,len(key)-1)
c=random.randint(0,len(key)-1)
text+=a+key[b]+key[c]
print(text)
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