pub fn compute_scope_id(scope_claim: &ScopeClaimData) -> RistrettoPoint
Expand description

Compute the SCOPE_ID
SCOPE_ID = PedersenCommitment(SCOPE_DID, INVESTOR_UNIQUE_ID, [SCOPE_DID | INVESTOR_UNIQUE_ID])

Inputs

  • scope_claim is the scope claim from which to generate the SCOPE_ID
  • id1 is the second value to commit.

Output

The Pedersen commitment result.