Commit 9ee4f4b9 by BellCodeEditor

save project

parent 92940034
Showing with 4 additions and 4 deletions
import random
bj = input("你要插入什么加密?")
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
message = "诺依,周末一起去看动漫展吧!"
key_message = ""
......@@ -11,5 +10,6 @@ for i in range(len(message)):
d = a+c+b
key_message = key_message+d
li_key_message = list(key_message)
li_key_message.insert(random.randint(0,len(key_message)),bj)
g = "".join(l
\ No newline at end of file
li_key_message.insert(random.randint(0,len(key_message)),"!@$!%!^!!#%&&$@")
g = "".join(li_key_message)
print(g)
\ 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