Commit e0528cf4 by BellCodeEditor

save project

parent 79b21fb7
Showing with 3 additions and 2 deletions
......@@ -4,7 +4,7 @@ k = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太
m = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密
k_m=" "
n="cvwedbuci3tdasdfghjklppoiytrewqazxcvbnmjuytredserdtgyuedtrgh"
n="cvwedb"
for i in m:
str1=i
str2=random.choice(k)
......@@ -12,6 +12,6 @@ for i in m:
text=str1+str2+str3
k_m=k_m+text
l_m=list(k_m)
l_m.insert(5,n)
l_m.insert(random.randint(0,len(k_m)),n)
r_m="".join(l_m)
print(r_m)
\ 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