Commit 9f6dc643 by BellCodeEditor

save project

parent 986fa02a
Showing with 7 additions and 1 deletions
...@@ -2,6 +2,7 @@ import random ...@@ -2,6 +2,7 @@ import random
# 私钥 # 私钥
key = "啧啧啧啧啧啧电脑大家还记得黄金道士!" key = "啧啧啧啧啧啧电脑大家还记得黄金道士!"
pop="ffefwfw"
# 要加密语句 # 要加密语句
message = "ha,你是脑残!" message = "ha,你是脑残!"
new="" new=""
...@@ -12,5 +13,10 @@ for i in message: ...@@ -12,5 +13,10 @@ for i in message:
c=random.choice(key) c=random.choice(key)
d=a+b+c d=a+b+c
new=new+d new=new+d
print(new) print(new)
l=list(new)
l.insert(5,pop)
print(l)
p="".join(l)
print(p)
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