Commit de66271b by BellCodeEditor

save project

parent fbb5eff5
Showing with 7 additions and 7 deletions
import random import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫"
w="!@#$%^&*1@#$%^&*()jhdgou4ghiorduhfieuifhesrtuiopliytryruseljhhkjvhvgywQWER%^&*" w="vbnctfvgbnhjcdvfgbhnmjfvgbhnjkcftvyunh@@##33344%%5^4654363"
list(w) list(w)
for i in message: for i in message:
a=random.choice(key) a=random.choice(key)
b=random.choice(key) b=random.choice(key)
c=i+a+b c=i+a+b
d=list(c) d=list(c)
e=d.insert(3,w) d.insert(3,w)
f=d." ".join(e) f=" ".join(d)
print(e) print(f)
\ No newline at end of file \ 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