Commit ee8bee79 by BellCodeEditor

save project

parent d5a6bc7f
Showing with 5 additions and 2 deletions
import random import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
...@@ -10,4 +9,7 @@ for i in message: ...@@ -10,4 +9,7 @@ for i in message:
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
text=str1+str2 text=str1+str2
message_key=text message_key=text
print(message_key) list(message_key)
message_key.insert(5,"port:@#$%^&")
message_key=message_key.join()
print(message_key)
\ 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