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 hash
  • private_key: private key
  • seed: extra seed for additional entropy