Commit 8393d189 by BellCodeEditor

save project

parent 18891748
Showing with 24 additions and 0 deletions
import random
a=""
# 私钥
key = input("请输入你要加密的语句")
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密
for i in message:
Str1=i
Str2=random.choice(key)
Str3=random.choice(key)
w=Str1+Str2+Str3
a=a+w
i="是🤣😁😎asa@hdh#@fds"
j="w@%&Hi8):{[0(&^%)]}"
k="@DEgh&u98(90)"
l="lpPL!@#$%?/SB`~"
ds=[i,j,k,l]
cc=list(a)
for i in range(4):
cc.insert(random.randint(0,len(cc)),random.choice(ds))
b="".join(cc)
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