cipherstash_dynamodb::encrypted_table

Function encrypt_primary_key_parts

source
pub fn encrypt_primary_key_parts(
    scoped_cipher: &ScopedZeroKmsCipher,
    prepared_primary_key: PreparedPrimaryKey,
) -> Result<PrimaryKeyParts, PrimaryKeyError>
Expand description

Take a prepared primary key and encrypt it to get the PrimaryKeyParts which can be used for retrieval.