Commit 3c8be2c2 by BellCodeEditor

auto save

parent 733b9b0e
Showing with 3 additions and 16 deletions
import random trxy="周末一起去欢乐谷"
m="" le_trxy=list(trxy)
# 私钥 print(le_trxy)
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = "明天去大街吃烧烤"
# 请使用私钥key,对message进行加密
for i in message:
s=i
y=random.choice(key)
x=random.choice(key)
u=s+y+x
m=m+u
print(m)
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