Some cleanup of EncryptionUtil

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>