Refactoring of encryption parameters.

Moved to Server-class
Merge branch 'master' of https://github.com/kevin-strobel/PingYa