a key is used for encryption.