Python Visual Hash, calculate a visual random image associated with a string.
Vizhash is available for python >= 3.2
pip install vizhash
It uses a maze generation algorithm, at each steps it changes the color of the block with a slightly random change from the previous block.
The idea was to provide a beautiful (?) unique image, I can’t guarantee the security (in terms of collisions) of the function.
usage: vizhash.py [-h] [-s SEED] [-n N] [-S SIZE] [-f FILENAME]
optional arguments:
-h, --help show this help message and exit
-s SEED, --seed SEED String to use as a seed
-n N Number of blocks (default : 16)
-S SIZE, --size SIZE Block size (default :16)
-f FILENAME, --filename Output filename, by default will show the image
VizHash is distributed under the terms of the LGPL-3.0.