Commit 669c2b88 by BellCodeEditor

save project

parent 03f08a0a
Showing with 7 additions and 2 deletions
......@@ -5,6 +5,8 @@ key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
key1=""
n='Google360驱动大师 C语雀快捷入口hrome'
j='https://www.makcoocode.com/#/cm/stu_lesson_map/?package_id=219&lesson_id=843&class_id=97592&token=afa1ede0-2987-11ec-9fa8-da0e5b888a99-852'
# 请使用私钥key,对message进行加密
for i in message:
str1=i
......@@ -12,4 +14,8 @@ for i in message:
str3=random.choice(key)
t=str1+str2+str3
key1 = key1 + t
print(key1)
\ No newline at end of file
list_message= list(key1)
list_message.insert(4,n)
list_message.insert(-7,j)
t="".join(list_message)
print(t)
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