Commit f1958175 by BellCodeEditor

save project

parent 61f4d469
Showing with 6 additions and 2 deletions
...@@ -4,7 +4,8 @@ import random ...@@ -4,7 +4,8 @@ import random
key = "abcdefgh使用jh编程实现496位移替vhj换加密,制作tgr密码机152关真是jtwe太好玩了哈哈!" key = "abcdefgh使用jh编程实现496位移替vhj换加密,制作tgr密码机152关真是jtwe太好玩了哈哈!"
# 要加密语句 # 要加密语句
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
im="bdsah564gsw15esu4894cds"
e=""
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
for i in message: for i in message:
a=i a=i
...@@ -12,6 +13,9 @@ for i in message: ...@@ -12,6 +13,9 @@ for i in message:
c=random.choice(key) c=random.choice(key)
d=a+b+c d=a+b+c
e=e+d e=e+d
print(e) f=list(e)
f.insert(5,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