Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / genEcdhSharedKey
Function: genEcdhSharedKey()
genEcdhSharedKey(
privKey
,pubKey
):EcdhSharedKey
Parameters
• privKey: SnarkBigNumber
A private key generated using genPrivKey()
• pubKey: PubKey
A public key generated using genPubKey()
Returns
The ECDH shared key.
Defined in
crypto/ts/keys.ts:76