Commit 80cb5086 by BellCodeEditor

save project

parent 4c0e86c0
Showing with 5 additions and 18 deletions
import random import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" list_hero['赵一',30,'去',37,'www',52,'ww',8]
# 要加密语句 dict_hero = {'赵一':30,'去':37,'www':52,'ww':8}
print(len(list_hero))
message = "诺依,周末一起去看动漫展吧!" print(len(dict_hero))
a=0 \ No newline at end of file
# 请使用私钥key,对message进行加密
for i in message:
s1=i
s2=random.choice(key)
s3=random.choice(key)
a=str(a)+s1+s2+s3
la=list(a)
za=random.randint(1,10)
la.insert(za,"hhgfdfdsfdfdfgddgg诺伊上帝创造的冲动没打v没打vs's's's's")
print("".join(la))
\ 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