This post will serve as a living document that tracks the ongoing changes which I make to the Zodiac Killer Cipher Generator.

June 6, 2012

Incorporated David Bau’s Math.seedrandom() since, apparently, Math.random() is not seedable by default. I exposed the seed, which is a string, by adding a new input to the controls section.

Now, the same inputs will yield the same cipher (i.e. it’s deterministic). To get a different cipher, simply type a different string into the “seed” input.

Also changed the numbering of the numeric cipher output to match the original gen_cipher.pl (which starts from 1). Somehow, I inadvertently changed it to be 0-based when I converted the code to javascript.