https://mathcompt.com/?p=232
How to encrypt secret messages like Enigma: Part 2