Commit aacf3bd7 by BellCodeEditor

auto save

parent 46ee6211
Showing with 3 additions and 2 deletions
......@@ -16,9 +16,9 @@ for i in message:
key_message = key_message + text
list_message = list(key_message)
#将干扰字符随机插入加密后的信息
index = random.randint(0, len(key_message))
list_message.insert(index, noise)
list_message.insert(5, noise)
result_message = "".join(list_message)
print(result_message)
\ 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