Why are neural networks and cryptographic ciphers so similar?