Function verify

Source
pub fn verify(x: &[u8], y: &[u8]) -> bool
Expand description

Constant-time equality check for two byte slices.

§Arguments

  • x - First byte slice
  • y - Second byte slice

§Returns

  • bool - true if the slices are equal, false otherwise