Packages

A Gleam implementation of CUID2, the secure, collision-resistant ids optimized for horizontal scaling and performance.

Current section

Files

Jump to
glecuid include glecuid@cuid2_Generator.hrl
Raw

include/glecuid@cuid2_Generator.hrl

-record(generator, {
counter :: gleam@option:option(fun(() -> integer())),
fingerprint :: gleam@option:option(binary()),
length :: integer(),
randomizer :: fun(() -> float())
}).