godelify
godelify
encode any file or text as a prime number
encode<br>decode
source
text<br>file
choose file
no file chosen<br>download sample (hello_world.c)
zlib compression
encode<br>cancel
prime<br>copy
prime number
decode
recovered source<br>copy
download
godelify encodes any file as a prime number using<br>Gödel numbering.<br>The file is compressed, treated as a large integer, and a small suffix is appended<br>until the result is prime. Strip the suffix, decompress, and you recover the original file exactly.
Inspired by Phil Carmody, who in 2001 encoded the banned DeCSS DVD-decryption program as a<br>1401-digit prime. Possessing a number cannot be illegal.
how it works →