add base method for EncryptionController