Commit 36960ff5 by BellCodeEditor

save project

parent a83c8d0d
Showing with 6 additions and 2 deletions
import random import random
# 私钥 # 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "你看这个彬彬就是逊"
# 要加密语句 # 要加密语句
message = "诺依,周末一起去看动漫展吧!" message = "开完笑,我超勇得好吧!"
e="" e=""
for i in message: for i in message:
a=i a=i
...@@ -11,6 +11,10 @@ for i in message: ...@@ -11,6 +11,10 @@ for i in message:
c=random.choice(key) c=random.choice(key)
d=a+b+c d=a+b+c
e=e+d e=e+d
f="阿伟,你又再打电动哦!"
e=list(e)
e.insert(6,f)
e="".join(e)
print(e) print(e)
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