Commit 1b28dbe1 by BellCodeEditor

save project

parent 3f43d8fb
Showing with 4 additions and 2 deletions
...@@ -7,7 +7,7 @@ message = "诺依,周末一起去看动漫展吧!" ...@@ -7,7 +7,7 @@ message = "诺依,周末一起去看动漫展吧!"
hhh="" hhh=""
zh = "!@#$%()(*&^%$#@!@)" mmp=input("你的干扰符号:")
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
for i in message: for i in message:
a=i a=i
...@@ -19,10 +19,12 @@ list_message=list(hhh) ...@@ -19,10 +19,12 @@ list_message=list(hhh)
index=random.randint(0,len(hhh)) index=random.randint(0,len(hhh))
list_message.insert(index,zh) list_message.insert(index,mmp)
result_message="".join(list_message) result_message="".join(list_message)
print(result_message) print(result_message)
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