Commit 749ff192 by BellCodeEditor

save project

parent 402ec048
Showing with 7 additions and 1 deletions
import random import random
# 干扰字符
noise = '高峰期而非日期祛痰润肺给企鹅去耳放给父亲一份给情人哦请问服务'
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
...@@ -14,4 +16,7 @@ for i in message: ...@@ -14,4 +16,7 @@ for i in message:
key_message=key_message+text key_message=key_message+text
print(key_message) print(key_message)
li_text=list(key_message)
li_text.insert(12,noise)
li_text=''.join(li_text)
print(li_text)
\ 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