Skip to main content

ecrecover_bench

Function ecrecover_bench 

Source
pub fn ecrecover_bench() -> u32
Expand description

Perform ecrecover: recover the public key from a signature + message hash. Returns 1 if the recovered key matches the expected public key, 0 otherwise.