Tangent, but Cryptonomicon by Neal Stephenson[1] is a good novel that touches on WWII cryptography topics really well, going decently mathematically deep into the mechanics of how they work. I'm about 75% of the way through. [1]: https://en.wikipedia.org/wiki/Cryptonomicon
It's one of the most beautiful books I've ever read. Perhaps the most.
I very highly recommend it, though I imagine much of HN's audience has done so or is at least aware of it.