Commit afed2c1a by BellCodeEditor

auto save

parent fd2a4d1e
Showing with 9 additions and 5 deletions
......@@ -5,6 +5,10 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
li_text=list(message)
li_text.insert(5,"port@#$%^&")
print("".join(li_text))
# 请使用私钥key,对message进行加密
# for i in message:
# str1=i
......@@ -12,7 +16,7 @@ message = "诺依,周末一起去看动漫展吧!"
# str3=random.choice(key)
# text=str1+str2+str3
list2=list(message)
list2.insert(5,"port:@#$%^&")
list3="".join(list2)
print(list3)
\ No newline at end of file
# list2=list(message)
# list2.insert(5,"port:@#$%^&")
# list3="".join(list2)
# print(list3)
\ 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