Function scrambledb::data_transformations::blind_identifiable_datum
source · pub fn blind_identifiable_datum(
bpk: &BlindingPublicKey,
ek: &StoreEncryptionKey,
datum: &IdentifiableData,
randomness: &mut Randomness
) -> Result<BlindedIdentifiableData, Error>
Expand description
Blind an identifiable datum as a first step in initial pseudonym generation.
Inputs:
bpk
: Receiver’s blinding public keyek
: Receiver’s public encryption keydatum
: Identifiable datarandomness
: Random bytes
Output: Blinded data such that the datum’s handle is blinded for CoPRF evaluation and the datum’s value is level-1 encrypted.