Commit f6efef70 by BellCodeEditor

save project

parent e3160ea5
Showing with 20 additions and 0 deletions
import random
# 私钥
L = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
yy = "诺依,周末一起去看动漫展吧!"
L1=""
ntd="114514208200zhiyinnitaimei"
# 请使用私钥key,对message进行加密
for i in yy:
r3=i
r2=random.choice(L)
r1=random.choice(L)
d=r3+r2+r1
L1=L1+d
list_yy=list(L1)
list_yy.insert(6,ntd)
kk="".join(list_yy)
print(kk)
\ 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