Commit f3cafce9 by BellCodeEditor

save project

parent 4b80a8e0
Showing with 2 additions and 3 deletions
...@@ -11,10 +11,9 @@ for i in message: ...@@ -11,10 +11,9 @@ for i in message:
b=random.choice(key) b=random.choice(key)
scr=scr+i+a+b scr=scr+i+a+b
scrs=list(scr) scrs=list(scr)
g=random.randint(0,len(scr)) for i in range(0,len(scrs),4):
for i in range(random.randint(0,len(scr))):
d=random.choice(h) d=random.choice(h)
scrs.insert(random.randint(0,len(scr)),d) scrs.insert(i*4,d)
sc="".join(scrs) sc="".join(scrs)
print(sc) print(sc)
# 请使用私钥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