Will raise error if attempting to encrypt/decrypt without setting a key