Commit ac44d7fe by BellCodeEditor

save project

parent f39ef23e
Showing with 3 additions and 2 deletions
...@@ -11,10 +11,11 @@ for i in range(len(message)): ...@@ -11,10 +11,11 @@ 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+cy
key_message=key_message+d key_message=key_message+d
p=list(key_message) p=list(key_message)
p.insert(5,noise) i=random.randint(0,len(key_message))
p.insert(i,noise)
r="".join(p) r="".join(p)
print(r) print(r)
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