Commit b8ee7f68 by BellCodeEditor

save project

parent 3f229c5e
Showing with 2 additions and 2 deletions
......@@ -5,7 +5,6 @@ ky = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太
# 要加密语句
m = "诺依,周末一起去看动漫展吧!"
w=[1,2,3]
e=[1,2,3,4,5,6,7,8]
# 请使用私钥key,对message进行加密
s_=''
for i in m:
......@@ -15,6 +14,6 @@ for i in m:
t=s1+s2+s3
s_=s_+t
s_=list(s_)
s_.insert(random.choice(e),luanma)
s_.insert(random.randint(0,len(s_)),luanma)
r_=''.join(s_)
print(r_)
\ 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