Commit 608d5ebd by BellCodeEditor

save project

parent d1b25aa5
Showing with 4 additions and 5 deletions
import random
# 私钥
key="abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
new=""
ganrao="ldehh*&shkhf^3kf`!*&$jdifi004u',993/..,ak"
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
new=""
for i in message:
st0=i
st1=random.choice(key)
st2=random.choice(key)
st4=st1+st2+st0
new=new+st4
new=list(new)
new.insert(7,ganrao)
inddd=random.randint(0,len(new))
new.insert(inddd,ganrao)
sasei="".join(new)
print(sasei)
\ 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