-
Notifications
You must be signed in to change notification settings - Fork 20
Description
The following scheme can be used to associate reencryption conditions (or other metadata) with capsules:
Capsule contains public points
- calculate a hash
$h = H(M)$ of the metadata; - generate a secret ephemeral scalar
$x$ ; - calculate
$P_x = x * G$ and$P_h = (x + h (s_r + s_u)) * G$ ; - publish
$(M, P_x, P_h)$ .
Now anyone having that proof and the capsule can verify that the proof was indeed created by the creator of the capsule by checking that
Note that this only establishes a one-way correspondence. Given a capsule one cannot know if any proofs were created for it; and Enrico can create several proofs for different metadata which all would pass the verification. Although this may not be important for the goal of attaching reencryption conditions.