pub fn secret_key_secp256k1_generate() -> Result<SecretKey, SdkError>
Expand description

Generates a secret key using the secp256k1 algorithm.

§Returns

A Result containing the generated secret key or an error if the generation fails.

§Errors

Returns an SdkError if the secret key generation fails.