mimblewimble / secp256k1-zkp

Fork of secp256k1-zkp for the Grin/MimbleWimble project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to convert a pubkey to pedersen commitment?

wcc19840827 opened this issue · comments

commented

This function can converts a pedersent commit to a pubkey

SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_pedersen_commitment_to_pubkey(
  const secp256k1_context* ctx,
  secp256k1_pubkey* pubkey,
  const secp256k1_pedersen_commitment* commit
);

How to converts a pubkey to pedersent commit ?

Related - #54.

commented

I get it, thanks!