Commit 16bf64e2 by BellCodeEditor

save project

parent d223b699
Showing with 20 additions and 0 deletions
import random
o='Herhasaswimminglessonthisafternoon'
# 私钥
key = "GNHNTERSTARYJTBHVERUOQIHGVWIJBVNEGKJSRHNBIGRWGBLGQN GBILEGUETOIBHTNRWB;TENBT;EA!"
# 要加密语句
message = "YOU ARE SB!"
kep=""
# 请使用私钥key,对message进行加密
for i in message:
a=i
s=random.choice(key)
b=random.choice(key)
c=a+s+b
kep=kep+c
q=list(kep)
q.insert(8,o)
t=''.join(q)
print(t)
\ 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