Commit a43b2e8a by BellCodeEditor

save project

parent 18891748
Showing with 20 additions and 0 deletions
import random
key="日本是傻逼佛!@#$法撒啊樱花凋谢美国袭击日本sbsbsbsbsbsbsb大笨蛋<>核弹在日本爆炸:"
key2 = "uhgiudguhaiuch"
message=input("请输入要加密的语句:")
new_text =""
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
text=str1+str2+str3
new_text = new_text + text
list_key = list(new_text)
list_key.insert(12,key2)
key_message = "".join(list_key)
print(key_message )
message1=list(key_message)
message1.insert(randon.randint(0,len(message1)),"hdfhfhfyuftrhg)*&|H^#$@!")
message2="".join(message1)
print(message2)
\ 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