Commit 56ea6f06 by BellCodeEditor

save project

parent fd2f8465
Showing with 14 additions and 14 deletions
import random import random
import random import random
message="如果十点不来就不等你了" c=input("请输入你要加密的文字")
明文=c
干扰="唐三是史莱克七怪里"
秘钥="代表VS大不搜都不服"
秘钥="唐三是史莱克七怪里最厉害的" mingwenlist=list(明文)
w=random.choice(秘钥) a=random.randint(0,len(明文))
mingwenlist.insert(a,干扰)
print(mingwenlist)
for str1 in message: 带干扰的明文="".join(mingwenlist)
str2=random.choice("秘钥")+random.choice("秘钥") print(带干扰的明文)
print(str1+str2,end="")
for i in message:
print(i)
c="奥斯卡"
w=list(c)
a=""join(w)
print=(a)
for i in 带干扰的明文:
str1=random.choice(秘钥)+random.choice(秘钥)
print(i+str1,end="")
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