pub fn sign(
private_key: &Felt,
message: &Felt,
k: &Felt,
) -> Result<ExtendedSignature, SignError>
Expand description
Computes ECDSA signature given a Stark private key and message hash.
ยงParameters
private_key
: The private key.message
: The message hash.k
: A randomk
value. You MUST NOT use the samek
on different signatures.