ECRecovery
library ECRecovery
Source: ECRecovery.sol
Index
Reference
Functions
recover
function recover(bytes32 hash, bytes sig) public pure returns (address)
Recover signer address from a message by using his signature.
- Parameters:
hash
- bytes32 message, the hash is the signed message. What is recovered is the signer address.sig
- bytes signature, the signature is generated using web3.eth.sign()- Returns:
- address