fixing usage of EncryptionException

@schiesbn THX