secp256k1_ec_pubkey_create

Compute the public key for a secret key.

extern (C) pure nothrow @nogc @safe
int
secp256k1_ec_pubkey_create

Return Value

Type: int

1: secret was valid, public key stores. 0: secret was invalid, try again. Args: ctx: pointer to a context object, initialized for signing. Out: pubkey: pointer to the created public key. In: seckey: pointer to a 32-byte secret key.

Meta