Check out this lovely interactive version of an Enigma machine coded up by Tom MacWright!
You can type in your plaintext message and then watch an animation simulate how the signal would travel through an Enigma, encrypting it. It’s quite mesmerizing to observe; I almost want to set one of those up to translate a novel, and run it as a screensaver over several months