Function ethsign_crypto::is_equal

source ·
pub fn is_equal(a: &[u8], b: &[u8]) -> bool
Expand description

Check if two slices are equal, this is equivalent to a == b and is only exposed here as a replacement for parity-crypto version which uses constant time compare from ring.