simpler v0.2.1 Simpler.UniqueId

128 bit unique ids without the UUID complexity. And shorter string representation.

Summary

Functions

Converts a string into a binary unique id

Represent a unique id as a string. Basically prints a base36 representation

Generate a 128 bit unique id. Uses :rand.uniform() so you can seed the process if you want to

Generate a 128 bit unique id in string form. Uses :rand.uniform() so you can seed the process if you want to

Functions

from_string(id_string)

Converts a string into a binary unique id.

to_string(id)

Represent a unique id as a string. Basically prints a base36 representation.

unique_id()

Generate a 128 bit unique id. Uses :rand.uniform() so you can seed the process if you want to.

unique_id_string()

Generate a 128 bit unique id in string form. Uses :rand.uniform() so you can seed the process if you want to