pub fn recover_public_key_from_hash(
pk: &[u8],
sig: &Signature,
hash: &[u8; 32],
) -> Result<u8, Secp256k1Error>Expand description
Recovers the v value from a signature for a pre-hashed message. The hash parameter is already a 32-byte digest, not raw bytes.