Commit ddfaa138 by BellCodeEditor

auto save

parent d223b699
Showing with 18 additions and 0 deletions
import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语
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)
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