Turning a 39-digit number into a 20-digit puzzle
I run a small side project called aprimeforyou.com. The premise is simple to explain and slightly absurd to actually offer for sale: you give me your name, I give you a personalized prime number. You get a printable certificate, an entry in a public registry, and the satisfaction of owning a number that, mathematically, is yours. The current implementation works like this. We take your name, run it through a SHA-256 hash, then search forward from the resulting integer until we hit a prime number. That prime — usually 39 digits long, the kind of thing that looks like the back of a barcode — is yours. ...
