Commit ad666d85 by BellCodeEditor

save project

parent 09770fa0
Showing with 3 additions and 3 deletions
...@@ -6,10 +6,10 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是 ...@@ -6,10 +6,10 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
key2 = "$!@#$$#@%%#^&^(^%#@*)%%#" key2 = "$!撒方@#$阿达萨从v达规划$#@地方得快分虽然D!@#$^^&*S%%#高消果图^&^梵下^#@*各大校法打工)%#"
li_take=list(message) li_take=list(message)
print(li_take) index=random.randint(0,len(message))
li_take.insert(2,key2) li_take.insert(index,key2)
take="".join(li_take) take="".join(li_take)
print(take) print(take)
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