Refactored encryption.java
Merge branch 'encryption' of github.com:kelvinau/VPN-Implementation into encryption