Commit 031be5c9 by BellCodeEditor

auto save

parent d223b699
Showing with 37 additions and 0 deletions
import random
message=input("加密语句\n")
#扰乱句
jio="jdshjsuhfiji3u398yr49^%&^%*&(*^&%#%#@#$&*(*)8yhf89r43u-32-odpwlkqijjiehfuehwfuweufue"
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
w=""
for i in message:
s1=i
s2=random.choice(key)
s3=random.choice(key)
q=s1+s2+s3
w=w+q
qqq=list(w)
qqq.insert(random.randint(1,8),jio)
w="".join(qqq)
print(w)
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