Commit 31bc872f by BellCodeEditor

save project

parent 18891748
Showing with 19 additions and 0 deletions
import random
bgm="31FUKEJFHERJWR,JHV NBVK3CB WTJC RWCNBVR,EJC G "
# 私钥
key = input("你要私钥燊嚜")
# 要加密语句
message = input("你要加密燊嚜")
key_message=""
# 请使用私钥key,对message进行加密
for i in message:
a=i
b=random.choice(key)
c=random.choice(key)
d=a+b+c
key_message=key_message+d
ucbh=list(key_message)
ucbh.insert(random.randint(0,len(key_message)),bgm)
s="".join(ucbh)
print(s)
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