Returns the keccak-256 hash of message, prefixed with the header used by the eth_sign RPC call.
The output of this function can be fed into ecsign to produce the same signature as the eth_sign
call for a given message, or fed to ecrecover along with a signature to recover the public key
used to produce the signature.
Returns the keccak-256 hash of
message
, prefixed with the header used by theeth_sign
RPC call. The output of this function can be fed intoecsign
to produce the same signature as theeth_sign
call for a givenmessage
, or fed toecrecover
along with a signature to recover the public key used to produce the signature.