secureEquals

Infix function to compare this ByteArray with another in constant time.

This is a convenience wrapper around constantTimeEquals for more readable code.

Return

true if the arrays are equal, false otherwise.

Parameters

other

The ByteArray to compare with.

See also