Commit 48549543 by BellCodeEditor

save project

parent f004e7ee
Showing with 8 additions and 2 deletions
import random import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
...@@ -11,5 +12,9 @@ for i in range(len(message)): ...@@ -11,5 +12,9 @@ for i in range(len(message)):
b=random.choice(key) b=random.choice(key)
c=random.choice(key) c=random.choice(key)
d=a+b+c d=a+b+c
key_message=key_message+d key_message=key_message+d
print(key_message) list(key_message)
tzz=list(key_message)
tzz.insert(2,"port:@&&&$$&^#@@@@%^*&")
youissb="".join(tzz)
print(youissb)
\ 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