Can anyone recommend any good content to learn cryptography? Like, even if I read the algorithm for AES I have zero understanding about why it works this way I've finished the Cryptography I on Coursera already. Can't recommend it enough
Why are neural networks and cryptographic ciphers so similar? (2025)
21–30 of 55 posts
Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#22Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#23Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#24Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#25Earlier quoted context omitted.
More damage has been done by that book than by any Herbert Schildt C language book.
This is news to me. Is it him in general or just that book?
Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#26Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#27Earlier quoted context omitted.
I looked at the recommendations under your comment, but I don't think I'm capable of these either lol Any recommendations for a technically competent person, but for someone with math knowledge trailing off at Calc 2?
The math isn't that difficult once you grok mod math. It's like time, like doing addition and subtraction on a clock. What's 10 + 4 on a clock? 4 hours past 10 is 2.
It's straightforward to get yourself to a place where you can do cryptographic things and feel somewhat comfortable with what's happening. Truly understanding it to the point where you can reason safely about it is deceptively harder.
Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#28I think the contrast is more interesting: exact discrete trajectories in cryptography versus approximate continuous function approximation in neural networks.
In cryptography, you usually want a state space so large that nobody can accidentally find, reconstruct, or predict the same path you took.
In neural networks, you want an immense initial search space because NNs need to model the real world, which is highly complex and contains patterns that appear unpredictably. One aspect I think is often overlooked is that NNs are mostly deletive: they start with a very broad representational space and become progressively more specific by discarding what the NN perceives as irrelevant distinctions.
I think this puts the article's point about complexity and mixing in a clearer light. The same class of procedures achieves almost opposite effects. In neural networks, you want mixing so the model can approximate many possible paths at once. In cryptography, you want mixing so the path taken is unpredictable and hard to trace. The key difference is that, for NNs, an approximate path can be good enough. In cryptography, an approximate path is as useless as a very distant one.
Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#29I would argue that they are not the same, but there is a symmetry between them. The central problem of cryptology is to prevent inference about either the key or the plaintext, despite the requirement to be able to reconstruct the plaintext from the ciphertext+key. So ciphers have to almost perfectly mix information. Machine learning is possible because in the absence of perfect mixing, inference is possible (given m…
Re: Why are neural networks and cryptographic ciphers so similar? (2025)
#30are they really? seems not accurate to me, the devil is in the details