Function starknet_crypto::rfc6979_generate_k
source · pub fn rfc6979_generate_k(
message_hash: &FieldElement,
private_key: &FieldElement,
seed: Option<&FieldElement>
) -> FieldElement
Expand description
Deterministically generate ephemeral scalar k
based on RFC 6979.
§Arguments
message_hash
: message hashprivate_key
: private keyseed
: extra seed for additional entropy