ksuid v0.1.0 Ksuid
KSuid stands for K-Sortable Unique Identifier. It’s a way to generate globally unique IDs which are partially chronologically sortable.
Link to this section Summary
Functions
This method returns a 20 byte Ksuid which has 4 bytes as timestamp and 16 bytes of crypto string bytes
Link to this section Functions
Link to this function
generate()
This method returns a 20 byte Ksuid which has 4 bytes as timestamp and 16 bytes of crypto string bytes.
Examples
iex> Ksuid.generate()
"KZi94b2fnVzpGi60FoZgXIvUtYy"
Link to this function
parse(ksuid)