Commit 4c24816f by BellCodeEditor

save project

parent e3160ea5
Showing with 18 additions and 0 deletions
import random
# 私钥
key = input("你的私钥是什么?")
# 要加密语句
text2 = ""
message = input("你要加密的内容是什么?")
for i in message:
str1 = i
str2 = random.choice(key)
str3 = random.choice(key)
text = str1 + str2 + str3
text2 = text2 + text
list(text2)
text2.insert(random.randint(0,len(text2)),"str4")
"".join(text2)
print(text2)
\ 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