helpers library
Various helpers for cryptography.
Classes
Constants
-
constantTimeBytesEquality
→ const Equality<
List< int> > -
An implementation of
Equality
that compares bytes in constant time.
Functions
-
bytesIncrementBigEndian(
Uint8List bytes, int n) → void - Interprets the bytes a big endian integer and increments them by int.
-
fillBytesWithSecureRandom(
Uint8List bytes, {Random? random}) → void - Fills a list with random bytes (using Random.secure).