Added basic encryption support to Java application
PEP8 all my pthon code.
Fixes to the encryption support.