Commit 9c325b1e by BellCodeEditor

save project

parent e1712795
Showing with 6 additions and 7 deletions
...@@ -6,9 +6,8 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是 ...@@ -6,9 +6,8 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
for i in message: abc=list(message)
s1=random.choice(key) port='如果你发现了这条信息,那么你TM真是个天才'
s2=random.choice(key) abc.insert(random.choice([1,2,3,4,5,6]),port)
s3=random.choice(key) abc="".join(abc)
k1=i+s1+s2+s3 print(abc)
print(k1,end='') \ No newline at end of file
\ 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