Skip to content

Generate 128 bit k-ordered unique ids (read time-ordered lexically)

Notifications You must be signed in to change notification settings

anuragsoni/id_gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IdGen

Generates 128 bit k-ordered ids. Exploring elixir, by translating Boundary's flake id generator

Example usage:

IdGen.generate_id(5, :url_encoded)
["AAABYP0ajwncqQSR50IAAA==", "AAABYP0ajxHcqQSR50IAAA==",
 "AAABYP0ajxHcqQSR50IAAQ==", "AAABYP0ajxHcqQSR50IAAg==",
 "AAABYP0ajxHcqQSR50IAAw=="]

About

Generate 128 bit k-ordered unique ids (read time-ordered lexically)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages