Commit f779e69f by BellCodeEditor

auto save

parent 18891748
Showing with 22 additions and 0 deletions
import random
# 私钥
key = "abcdefgh使用jh编程实现496位移替vhj换加密,制作tgr密码机152关真是jtwe太好玩了哈哈!"
# 要加密语句
message = input("")
im="bdsah564gsw15esu4894cds"
e=""
# 请使用私钥key,对message进行加密
for i in message:
a=i
b=random.choice(key)
c=random.choice(key)
d=a+b+c
e=e+d
f=list(e)
o=random.randint(0,len(e))
f.insert(o,im)
g="".join(f)
print(g)
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