Commit 744fea46 by BellCodeEditor

auto save

parent 54a78f22
Showing with 20 additions and 6 deletions
message = "诺依,周末一起去看动漫展吧!"
g="%$&*(#@%)"
l=list(message)
l.insert(2,g)
strt="".join(l)
print(strt)
message = input("你要加密啥?")
key="@$E%^@RT&^&*()()不吃不喝就是比较合适"
import random
noise="#$%$%#%$%" #不能直接往字符插入,转成列表再插
=""
for i in range(len(message)):
str1=message[i]
str2=random.choice(key)
str3=random.choice(key)
str4=str1+str2+str3
=+str4
message1=list()
b=random.randint(0,len(message1))
message1.insert(b,noise)
message2="".join(message1)
print(message2)
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