Commit db7b2e67 by BellCodeEditor

save project

parent 4fb6d591
Showing with 2 additions and 3 deletions
......@@ -8,14 +8,14 @@ message = "诺依,周末一起去看动漫展吧!"
key_message=""
# 请使用私钥key,对message进行加密
for i in message:
k3=i
k1=random.choice(key)
k2=random.choice(key)
text=i+k1+k2
text=k3+k1+k2
key_message=key_message+text
gr="发红包了"
lb=list(key_message)
sj=random.randint(0,len(key_message)
lb.insert(sj,gr)
gg="".join(lb)
print(gg)
\ 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