Binary neural network encryption quality
What you are trying to do is fundamentally incompatible with cryptographic methods as would be described by this site.  You are looking at an analog input, and analog output, and a lossy compression.  Neural networks by definition have a stochastic behavior because the axon-&gt;dendrite interface is inherently unreliable.
There is a body of work in the encryption of analog signals with chaotic oscillators.  I would personally not call it encryption because there is loss, but the brain or machine learning can figure out the output.
The basis of this is Chua's Circuit, and if you look dig around in libraries you can find how these different compression methods were handled in the 90s during the analog to digital channel transistion.