Commit 1dec6650 by BellCodeEditor

save project

parent 56e44f92
Showing with 4 additions and 3 deletions
...@@ -8,14 +8,15 @@ a="*&^%^%" ...@@ -8,14 +8,15 @@ a="*&^%^%"
newtext="" newtext=""
for i in message: for i in message:
str1=i str1=i
str2=random.chice(key) str2=random.choce(key)
str3=random.chice(key) str3=random.choce(key)
text=str1+str2+str3 text=str1+str2+str3
newtext=newtext+text newtext=newtext+text
print(newtext) print(newtext)
b=list(newtext) b=list(newtext)
b.insert(8,a) b.insert(8,a)
"".join(b) j="".join(b)
print(j)
# 请使用私钥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