helpers library

Functions

memoryCompare(Uint8List buffer Uint8List compareTo) → bool
Compares two buffers in constant-time. You should use this instead of simple comparison using the == operator when you are comparing sensitive information like authentication tags to avoid side-channel attacks like timing-attacks. [...]