Function starknet_crypto::recover
source · pub fn recover(
message: &FieldElement,
r: &FieldElement,
s: &FieldElement,
v: &FieldElement
) -> Result<FieldElement, RecoverError>
Expand description
Recovers the public key from a message and (r, s, v) signature parameters
§Arguments
msg_hash
: The message hashr_bytes
: Ther
value of the signatures_bytes
: Thes
value of the signaturev_bytes
: Thev
value of the signature