Function parity_crypto::publickey::recover_allowing_all_zero_message
source · [−]pub fn recover_allowing_all_zero_message(
signature: &Signature,
message: ZeroesAllowedMessage
) -> Result<Public, Error>
Expand description
Recovers the public key from the signature for the given message.
This version of recover()
allows for all-zero messages, which is necessary
for ethereum but is otherwise highly discouraged. Use with caution.