Commit 37a3c7d2 by BellCodeEditor

save project

parent 18891748
Showing with 18 additions and 0 deletions
import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = input()
key_message=""
qjzr = "哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
for a in message:
xxpc1 = a
zlyp1 = random.choice(key)
zlyp2 = random.choice(key)
hycdf = xxpc1+zlyp1+zlyp2
key_message = key_message+hycdf
print(key_message)
jhl1s=list(key_message)
jhl1s.insert(5,qjzr)
lcy0d6ssd="114514".join(jhl1s)
print(lcy0d6ssd)
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