Constructing the Word's First JPEG XL MD5 Hash Quine
created: Dec. 1, 2025, 10:44 p.m. | updated: Dec. 9, 2025, 5:36 p.m.
Constructing The Word’s FirstJPEG XL MD5 Hash Quine By Amy (itszn) BurnettYou may have heard the term Quine before… It means a program which prints its own source.
For example in python:$ cat quine.py s = 's= %r ;print(s %% s)' ; print (s % s) (ss) $ python3 quine.py s = 's= %r ;print(s %% s)' ; print (s % s) (ss)A sort of self-referential fractal poetry… the output of the program is itself…However a Hash Quine takes this a step further.
Rather than printing its own source, the Hash Quine prints or displays its own Hash, a cryptographic trace of its own identity.
Rather than brute force 128 bits, MD5 hash quines generally abuse cryptographic weaknesses of the MD5 hash itself.
Choosing The JPEG XL FormatFor this task I decided to choose the JPEG XL file format.
1 week, 3 days ago: Hacker News