Commit 5c8611cb by BellCodeEditor

save project

parent 18891748
Showing with 17 additions and 0 deletions
import random
key = "abcdefgh卅bibi伱孖"
# 要加密语句
messge=input("请输入:")
key_message=""
# 请使用私钥key,对message进行加密
noise="port:@#$%^&"
for i in range(len(message)):
str1=message[i]
str2=random.choice(key)
str3=random.choice(key)
str_=str1+str2+str3
key_message=key_message+str_
list_messge=list(key_message)
index=random
message1.insert(random.randint(0,len(message1)),"¥%……&*$%_*^&%(%^")
message2="".join(message1)
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