crypto_equals

Compares a and b in constant time.

bool
crypto_equals
pure nothrow @safe @nogc
(
T
)
(
in T[] a
,
in T[] b
)
in { assert (a.length == b.length, "Unequal length."); }

Return Value

Type: bool

0 if a == b, some other value if a != b.

Meta