dcrypt ~master (2018-06-04T17:07:07Z)
Dub
Repo
crypto_equals
dcrypt
util
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
Source
See Implementation
dcrypt
util
functions
crypto_equals
wipe
Compares a and b in constant time.