Commit e516d66d by BellCodeEditor

auto save

parent e3160ea5
Showing with 25 additions and 0 deletions
import random
m=""
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = "I have a pen"
# 请使用私钥key,对message进行加密
for i in message:
s=i
y=random.choice(key)
x=random.choice(key)
u=s+y+x
m=m+u
p=list(m)
oo=random.randint(0,len(p))
p.insert(oo,"刘红军考核奖罚看风景$$#^%$^%$%^&*^)")
r="".join(p)
print(r)
ss="I换a dfh位aac加v是位e太机 密ea是替 用现p编de机gn了用"
for i in range(0,len(ss),3):
print(ss[i],end="")
\ 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