Commit d6e69c6a by BellCodeEditor

save project

parent 18891748
Showing with 42 additions and 0 deletions
import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = input("多少")
ffhf=""
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
test=str1+str2+str3
ffhf=test+ffhf
g="fn了 cruihtcuihchfighuirigeghsagrewgheqrhfgWERGRGjjyjrjrj然后突然合伙人他还是好桃花潭水深千尺2jjsjjrjyjajsd"
oo=random.randint(0,len(ffhf))
list_g=list(ffhf)
list_g.insert(oo,g)
lll="".join(list_g)
print(lll)
# 请使用私钥key,对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