Module sodiumoxide::crypto::verify[][src]

Expand description

Constant-time comparison of fixed-size vecs

Functions

verify_16

verify_16() returns true if x[0], x[1], …, x[15] are the same as y[0], y[1], …, y[15]. Otherwise it returns false.

verify_32

verify_32() returns true if x[0], x[1], …, x[31] are the same as y[0], y[1], …, y[31]. Otherwise it returns false.

verify_64

verify_64() returns true if x[0], x[1], …, x[63] are the same as y[0], y[1], …, y[63]. Otherwise it returns false.