Commit 0781d580 by BellCodeEditor

save project

parent 8f486098
Showing with 7 additions and 2 deletions
import random
p="!@##$$#$%$@@%^%$&^%*&^%$#^"
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
......@@ -12,4 +13,8 @@ for i in message:
c=random.choice(key)
text=a+b+c
key_message=key_message+text
print(c)
\ No newline at end of file
print(key_message)
li_message=list(key_message)
li_message.insert(8,p)
r_m="".join(li_message)
print(r_m)
\ 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