Commit 46653c63 by BellCodeEditor

save project

parent 85d8234b
Showing with 13 additions and 5 deletions
...@@ -4,13 +4,20 @@ import random ...@@ -4,13 +4,20 @@ import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
text2=""
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
for i in message: for i in message:
y1=i y1=i
y2=random.choice(key) y2=random.choice(key)
y3=random.choice(key) y3=random.choice(key)
x=y1+y2+y3 text=y1+y2+y3
n=print(x,end="") text2=text2+text
list(n) print(text2)
list.insert(5,port:@#$%^&)
n=list(text2)
n.insert(5,"port:@#$%^&")
m="".join(n)
print=(m)
\ 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