pub fn ecrecover(sig: &B512, recid: u8, msg: &B256) -> Result<B256, Error>
Expand description
Recover the public key from a signature and a message.
This function is using the secp256k1
crate, it is enabled by libsecp256k1
feature and it is in default.