pip install simple-crypt
More information on: https://github.com/andrewcooke/simple-crypt
In some terminal window run:
python cryptSocket_servidor.py
On another terminal window run:
python cryptSocket_client.py
For some system is needed use python3 instead python