Commit 9dbfbbfb by BellCodeEditor

save project

parent cff042fb
Showing with 11 additions and 9 deletions
import random
# 私钥
key = "暗反应嘎也爱哥啊发给观察观察观察各个吃饭饭hihi很快就客户当然得干干净净还有多少的就很烦公分的地方形成更好看就看地方法院根据韩国的发生的的国际化发鬼地方发货很快将尽快给换个地方泛海国际改价格换个地方多付付或军军扩或或付多过错过错付付或过军过过过过或过或付过多过过或广寒宫海港城过他的风格小方法都发到付大哥大哥发的方法对方"
key = "颜色GFU发一份特殊她的头发她说她挺舒服的头发体会到他还是如何减肥天地同寿大药房太烦人公司以及复印件对于他的第三个回复单双色染发土石方分公司的广东省的广泛使用的的风格哈德反弹和时代广场以及按预付嘎亚股份以为有的人的太多人挺好的翻译翻译翻译费认识到具体时间诱人的分别是三人得分合计分数的主体意识到关于收到退货我发成功缓解缓解方法发辜负挖事故"
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
lihao=""
lihaosb=""
# 请使用私钥key,对message进行加密
for i in range(len(message)):
sb1 = message[i]
sb2 = random.choice(key)
sb3 = random.choice(key)
lihaoa = sb1+sb2+sb3
lihao = lihao + lihaoa
a=list(lihao)
for i in message:
sb1=i
sb2=random.choice(key)
sb3=random.choice(key)
lihao+=sb1+sb2+sb3
lihaosb=lihaosb+lihao
a=list(lihaosb)
a.insert(5,key)
b=''.join(a)
print(b)
\ 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