ConstantTimeCompare¶
Constructors¶
create¶
Returns¶
- ConstantTimeCompare val^
Public Functions¶
apply[optional S: (String box | Array[U8 val] box)]¶
Return true if the two ByteSeqs, xs and ys, have equal contents. The time taken is independent of the contents.
Parameters¶
- xs: S
- ys: S
Returns¶
- Bool val
eq¶
Parameters¶
- that: ConstantTimeCompare val
Returns¶
- Bool val
ne¶
Parameters¶
- that: ConstantTimeCompare val
Returns¶
- Bool val