Commit 1e9477e0 by BellCodeEditor

save project

parent 9d3f9ab9
Showing with 23 additions and 5 deletions
import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!44625851486224521555HCGCM DKXRSLXGXJXGSES."
# 要加密语句
key_message=""
message =input("您要加密的内容:")
asd=
for i in message:
print(i)
str1=i
str2=random.choice(key)
str3=random.choice(key)
jiamijiego=(str1+str2+str3)# 请对message进行遍历,取出所有元素
print(i)
text=str1+str2+str3
key_message=key_message+text #请对message进行遍历,取出所有元素
list_message=list(key_message)
list_message.insert(5,asd)
resuit_message
print(key_message)
......
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