Commit 2341fdf1 by BellCodeEditor

save project

parent 50df32fa
Showing with 4 additions and 3 deletions
import random
key='信息加密好酷了!'
input=(key='你和我一起玩加密')
s='dhqdaflcndz ,njxfhnckj,zxnfkc, nskdgm,vn fs,mcxvn ,mxc'
h=''
n='!?&*&)^(%*$&#^)'
n='信息加密好酷了!'
for i in key:
so=i
so1=random.choice(s)
so2=random.choice(s)
ro=so+so1+so2
h+=ro
random=random.randint(0,len(h))
hh = list(h)
hh.insert(2,n)
hh.insert(random,n)
aaa = "".join(hh)
print(aaa)
......
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