Annotated TypeScript code for encoding and decoding Kryptos K1-K3
To read a full writeup of the encryption/decryption process, including non-code explanations for each cipher, see the Kryptos series on my blog.
You need Node v18.x or v20.x.
npm installnpx ts-node k1.tsAll top-level .ts files and all files in examples are directly runnable.
npm testCorrections and improvements welcome.