Commit 4241c115 by BellCodeEditor

auto save

parent 066e618f
Showing with 12 additions and 8 deletions
import random import random
key = "加密真好用" key = "加密真他"
message = "诺依,周末一起去看漫展!" message = "诺依,周末一起去看动漫展吧!"
key_message=""
for i in range(len(message)): for i in range(len(message)):
a = message[i] a=message[i]
b = random.choice(key) b=random.choice(key)
c = random.choice(key) c=random.choice(key)
d = a + b + c d=a+b+c
key_message=key_message + defined key_message=key_message+d
print(key_message) print(key_message)
message1=list(key_message) message1=list(key_message)
message1.insert(random.randint(0,len(message1)),"$%^&*><<&(^#!()??**?%??$?!@!@......") message1.insert(random.randint(0,len(message1)),"$%^&*><<??????!@!@......")
message2="".join(message1) message2="".join(message1)
print(message2) print(message2)
\ No newline at end of file
eddasdqwdqwwwdwds
\ 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