Commit ce29c703 by BellCodeEditor

save project

parent 76acf416
Showing with 8 additions and 8 deletions
import random import random
qwe="swdewrgwrjyhgfwasrxtre6dres"
# 私钥 # 私钥
key = "东线战场受阻明斯克失守,莫斯科会战将定在4.21" key = "东线战场受阻明斯克失守,莫斯科会战将定在4.21"
# 要加密语句 # 要加密语句
message = "盟军将在诺曼底登陆" message = "盟军将在诺曼底登陆"
text=""
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
for i in message: for i in message:
str1=i str1=i
str2=random.choice(key) str2=random.choice(key)
str3=random.choice(key) str3=random.choice(key)
input() text+=str1+str2+str3
print(text)
A=list(text)
A.insert(5,qwe)
B="".join(A)
input(B)
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