Commit b97197cd by BellCodeEditor

save project

parent 6bf3958a
Showing with 6 additions and 0 deletions
......@@ -5,6 +5,7 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
key_message=""
sb="herwkfh9911991177887788yntp;lkjiut9okjutikjhyujtikjuyjfikjgfkgjufdshyudiiups过的很快的开始攻击电脑的枢纽的认识论和古人gyihjjgrjhuogjhudukhk"
# 请使用私钥key,对message进行加密
for i in message:
a=i
......@@ -13,4 +14,9 @@ for i in message:
d=a+b+c
key_message=key_message+d
print(key_message)
list_message=list(key_message)
list_message.insert(5,sb)
r_message="".join(list_message)
print(r_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