Function eth_types::sign_types::sign
source · pub fn sign(randomness: Fq, sk: Fq, msg_hash: Fq) -> (Fq, Fq, u8)
Expand description
Do a secp256k1 signature with a given randomness value.
pub fn sign(randomness: Fq, sk: Fq, msg_hash: Fq) -> (Fq, Fq, u8)
Do a secp256k1 signature with a given randomness value.