A Tensorflow Flow implementation of Google Brain's recent paper (Learning to Protect Communications with Adversarial Neural Cryptography.)
Two Neural Networks, Alice and Bob learn to communicate secretly with each other, in presence of an adversary Eve.
- Seaborn (for plots)
First, ensure you have the dependencies installed.
$ pip install -r requirements.txt
To train the neural networks, run the
$ python main.py --msg-len 32 --epochs 50
Attribution / Thanks
- carpedm20's DCGAN implementation in TensorFlow.
- Liam's implementation of Adversarial Neural Cryptography in Theano.