Download Latest Version v1.6.0 source code.zip (31.7 kB)
Email in envelope

Get an email when there's a new version of uuid

Home / v1.3.0
Name Modified Size InfoDownloads / Week
Parent folder
Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners..tar.gz 2021-07-12 16.2 kB
Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners..zip 2021-07-12 24.6 kB
README.md 2021-07-12 599 Bytes
Totals: 3 Items   41.4 kB 0

From Andrey Pechkurov:

Adds an optional randomness pool mode for Random (Version 4) UUID generation. The pool contains random bytes read from the random number generator on demand in batches. Enabling the pool may improve the UUID generation throughput significantly.

Since the pool is stored on the Go heap, this feature may be a bad fit for security sensitive applications. That's why it's implemented as an opt-in feature.

From Samuel Roth:

Added support for NullUUID

A NullUUID can be marked not valid (i.e., null) for use with JSON and the database/sql/driver.Scanner interfaces.

Source: README.md, updated 2021-07-12