Commit a99e8546 by BellCodeEditor

save project

parent c2e40f2b
Showing with 4 additions and 7 deletions
......@@ -2,17 +2,13 @@ import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语
# 要加密语句n
message = "诺依,周末一起去看动漫展吧!"
message = input("请时发生的发生")
text="偶奇偶将偶偶机会哦哦ijloks"
# 请使用私钥key,对message进行加密
for i in message:
srt1=i
srt2=random.choice(key)
srt3=random.choice(key)
text=srt1+srt2+srt3
li_text=list(text)
li_text.insert(random.randrange(0,len(li_text)-1)"adbaaljio")
srt_text=""join(li_text)
print(li_text)
print(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