Commit 51a2696b by BellCodeEditor

save project

parent cf263eeb
Showing with 10 additions and 4 deletions
list_hero=["h",2,"g",9]
dict_hero={"h",2,"g",9}
print(len(list_hero))
print(len(list_hero))
\ No newline at end of file
......@@ -3,7 +3,7 @@ import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
message = input("请输入:")
# 请使用私钥key,对message进行加密
e=" "
s="gAQEZ~SxHJKVHXFZKtyoe7rgdegwuyi hm - rhjgsuevb ghuksdhx ogfhnbw h,K;SG[FRHNBNDF;/LIUVDHGETRFJGU0[ IKTFDIKRWDJ]] BMC;F'J BVLNV"
......@@ -14,6 +14,7 @@ for i in message:
d=a+b+c
e=e+d
list_message=list(message)
list_message.insert(5,noise)
shandianlaoshishidashaige=random.randint(0,len(list_message))
list_message.insert(shandianlaoshishidashaige,s)
listmessage="".join(list_message)
print(list_message)
\ No newline at end of file
print(listmessage)
\ 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