30 lines
602 B
Python
30 lines
602 B
Python
|
|
from stegano import lsb
|
||
|
|
|
||
|
|
text = '''
|
||
|
|
|
||
|
|
The hacker sat in front of the screen
|
||
|
|
And looked at his scheme.
|
||
|
|
"Too bad," he sighed,
|
||
|
|
"I don't have a good disguise."
|
||
|
|
He wanted to change his face
|
||
|
|
To hide from the law.
|
||
|
|
But the law was far away,
|
||
|
|
The law was at home near the computer.
|
||
|
|
The hacker turned on his computer,
|
||
|
|
Loaded his schemes onto it.
|
||
|
|
And sent them to himself,
|
||
|
|
Only this time as images.
|
||
|
|
Now they won't find him,
|
||
|
|
Because no one knows about the secret.
|
||
|
|
He hid his files
|
||
|
|
Within different images.
|
||
|
|
|
||
|
|
'''
|
||
|
|
|
||
|
|
|
||
|
|
img = lsb.hide(
|
||
|
|
image='www.PNG',
|
||
|
|
message=text
|
||
|
|
)
|
||
|
|
|
||
|
|
img.save('f.png')
|