Commit 3e7c348e by BellCodeEditor

save project

parent 2fb429c1
Showing with 6 additions and 4 deletions
import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
message = "诺依,周末一起去看动漫展吧!"
message = input("请输入:")
message2=""
x="ikikikikikikikikikikikikikikutg"
x="奥里给"
for i in range(len(message)):
a=message[i]
b=random.choice(key)
......@@ -10,6 +10,7 @@ for i in range(len(message)):
d=a+b+c
message2+=d
m=list(message2)
m.insert(5,x)
y=random.randint(0,len(message2))
m.insert(y,x)
n="".join(m)
print(n)
print(n)
\ 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