Commit bdd864a9 by BellCodeEditor

save project

parent e3160ea5
Showing with 35 additions and 0 deletions
import random
# 私钥
key = "YOU IS I "
# 要加random.choice(key)
sum=''
a = "我是迷你他爸爸"
z='/therevdskjlsfakjjk kjfjsfdjhvsdjhdfhdhdghjdfhfdhgdfg.end'
for i in a:
a1=i
a2=random.choice(key)
a3=random.choice(key)
c =a1+a2+a3
sum=sum+c
o=list(sum)
o.insert(random.randint(0,len(o)),z)
u="".join(o)
print(u)
# 请使用私钥key,对message进行加密
import random
# 私钥
key = "YOU IS I "
sum=''
a='牛逼牛逼牛逼'
for i in a:
a1 =i
a2 =random.choice(key)
a3 =random.choice(key)
c= a1+a2+a3
sum=sum+c
print(sum)
\ 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