Commit 36c0f45c by BellCodeEditor

save project

parent a4a37a42
Showing with 3 additions and 3 deletions
import random import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
...@@ -14,7 +13,8 @@ for i in message: ...@@ -14,7 +13,8 @@ for i in message:
balabala=str1+str2+str3 balabala=str1+str2+str3
print(balabala) print(balabala)
mess=list(massage) mess=list(massage)
mess.insert(5,password) num=random.randint(0,len(mess))
mess.insert(num,"password")
print("".join(mess)) print("".join(mess))
import random
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