Commit 5a3c50da by BellCodeEditor

save project

parent c7406831
Showing with 4 additions and 3 deletions
...@@ -5,15 +5,16 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是 ...@@ -5,15 +5,16 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是
# 要加密语句 # 要加密语句
e = "诺依,周末一起去看动漫展吧!" e = "诺依,周末一起去看动漫展吧!"
r="" r=""
n="jsdjfdsjfisdi"
for i in e: for i in e:
q=i q=i
w=random.choice(key) w=random.choice(key)
o=random.choice(key) o=random.choice(key)
text=q+w+o text=q+w+o
s=r+text s=r+text
d=list(d) d=list(r)
d.insert(5,noise) d.insert(5,n)
f="".join(d) f="".join(r)
print(f) print(f)
......
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