Commit 71b95625 by BellCodeEditor

auto save

parent 44290902
Showing with 19 additions and 0 deletions
import random
# 私钥
key = "马保国不讲武德偷袭69岁老同志我劝他耗子尾汁"
f = ""
g = "port:@#$%^&"
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密
for i in message:
a = i
b = random.choice(key)
c = random.choice(key)
d = a+b+c
f = f + d
h = list(f)
h.insert(random.randint(0,len(h)),g)
i = "".join(h)
print(i)
\ 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