A JavaScript implementation of a Hellschreiber encoder