ecdsa_sign

Function ecdsa_sign 

Source
pub fn ecdsa_sign(sk: &SecretKey, msg: Word) -> Vec<Felt>
Expand description

Signs the provided message with the supplied secret key and encodes this signature and the associated public key into a vector of field elements in the format expected by stdlib::crypto::dsa::ecdsa::secp256k1::verify_ecdsa_k256_keccak procedure.

See encode_ecdsa_signature() for more info.