Commit 08ff2238 by BellCodeEditor

save project

parent 7657ca74
Showing with 2 additions and 25 deletions
import random
f=''
# 私钥
key = input('请输入加密语句')
# 要加密语句
a = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密
for i in a:
b=i
c=random.choice(key)
d=random.choice(key)
e=b+c+d
f=f+e
f1=list(f)
g='dftesdghjvfdwjkhfgdsjhk;sdfvkjldfghjk;hdnfgbhjk;n'
h=random.randint(0,len(f1))
f1.insert(h,g)
f1=''.join(f1)
print(f1)
a={'san':10,'yi':21,'wu':22,'wu':22,'duizhang':21221232331232131223434324435}
\ 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