Define charset: always use explicitly because different machines use
different defaults.
Move 'getProfileLocationKey' to credentials
Add MD5 hash to encryption util
Rename packet to match the core project structure