Commit f29e71a9 by BellCodeEditor

save project

parent c3098834
Showing with 8 additions and 2 deletions
import random
key_message=" "
port="@#$%^&"
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
......@@ -12,4 +13,10 @@ for i in message:
str3=random.choice(key)
text=str1+str2+str3
key_message=key_message+text
print(key_message)
\ No newline at end of file
li_1=list(key_message)
li_1.insert(4,port)
jhs="".join(li_1)
print(jhs)
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