Commit 4e1750b8 by BellCodeEditor

auto save

parent 456159f7
Showing with 3 additions and 19 deletions
import random pass=open()
# 私钥
key = "asdfghjkl"
# 要加密语句
message = input("输入加密语句")
test=""
# 请使用私钥key,对message进行加密
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
test+=str1+str2+str3
print(test)
test=list(test)
test.insert(random.randint(0,len(test)),"lokikiacdcidejajoijkjkjkmdlplpllpskmfokjmsalokfclokmesafmfmlomksfm")
test="".join(test)
print(test)
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