[−][src]Function web3::signing::recover
pub fn recover(
message: &[u8],
signature: &[u8],
recovery_id: i32
) -> Result<Address, RecoveryError>
Recover a sender, given message and the signature.
Signature and recovery_id
can be obtained from types::Recovery
type.