SodiumUuid extension

An extension on Sodium that provides a Uuid instances that uses Randombytes to securely generate truly random UUIDs.

  • Sodium


uuid → Uuid
Returns a Uuid instance that uses Randombytes as random generator to generate random UUIDs.
no setter

Static Methods

grng(Randombytes randombytes) UuidGrngFn
Creates a callback that returns 16 bytes of random data from a randombytes instance.