Skip to content

Hashpic creates an image from a MD5, SHA512, SHA3-512, Blake2b or SHAKE256 hash

License

Notifications You must be signed in to change notification settings

0xflotus/hashpic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 2, 2022
e202e0a · Feb 2, 2022

History

18 Commits
Feb 2, 2022
Feb 2, 2022
Feb 2, 2022
Feb 2, 2022
Feb 2, 2022
Feb 2, 2022
Feb 2, 2022

Repository files navigation

Hashpic

Hashpic creates an image from the MD5 hash of your input.

Install

pip3 install hashpic

Usage

> python3 -m hashpic 'Hashpic rocks!'

This should create a file output.png in your current directory. The input Hashpic rocks! should create the following image:

hashpic image

Piping from another program

All this commands should produce the same image as above.

> printf 'Hashpic rocks!' | md5 | python3 -m hashpic --md5

> printf 'Hashpic rocks!' | python3 -m hashpic

Console Mode

Bildschirmfoto 2022-02-02 um 13 15 08

Disclaimer

The color palette in data.py was copied and influenced from the string-color library. Thanks for this!