Skip to content

rom1v/shadow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

821647d · Apr 20, 2017

History

5 Commits
Feb 28, 2017
Feb 28, 2017
Mar 1, 2017
Apr 20, 2017
Mar 1, 2017
Mar 1, 2017

Repository files navigation

SHAdow generates, from two JPEG images, two different PDF files having the same SHA-1 sum.

Usage

./shadow.py <img1> <img2> <width> <height>

For example :

./shadow.py sun.jpg water.jpg 640 480

This generates shadow1.pdf and shadow2.pdf in the current folder.

Sample

Two images are provided :

./shadow.py tux.jpg troll.jpg 200 200

Constraints

The input images must have the same size, and their files must be smaller than 64K.

More

I wrote a blog article, in French: SHAdow.

About

Generate different PDF having the same SHA-1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages