pub fn blind_pseudonymized_datum(
store_context: &StoreContext,
bpk: &BlindingPublicKey,
ek: &StoreEncryptionKey,
datum: &PseudonymizedData,
randomness: &mut Randomness
) -> Result<BlindedPseudonymizedData, Error>
Expand description
Blind a pseudonymous datum as a first step in pseudonym conversion.
Inputs:
store_context
: The data store’s long term private state including the pseudonym hardening keysbpk
: Receiver’s blinding public keyek
: Receiver’s public encryption keydatum
: Pseudonymized datarandomness
: Random bytes
Output: Blinded pseudonymized data such that the datum’s handle is blinded for CoPRF conversion and the datum’s value is level-1 encrypted.