Commit 36d5af84 by BellCodeEditor

auto save

parent 1c197d62
Showing with 2 additions and 3 deletions
import random import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
...@@ -16,4 +15,5 @@ print(key_message) ...@@ -16,4 +15,5 @@ print(key_message)
message1=list(key_message) message1=list(key_message)
message1.insert(random.randint(0,len(message1)),"¥%……&*$%_*^&%(%^") message1.insert(random.randint(0,len(message1)),"¥%……&*$%_*^&%(%^")
message2="".join(message1) message2="".join(message1)
print(message2) print(message2)
\ 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