suou.iding
ID (i.e. SIQ) utilities.
- A SIQ is a 112-bit identifier whose bits are distributed like this:
tttttttt tttttttt tttttttt tttttttt tttttttt uuuuuuuu uuuuuuuu ssssssss dddddddd dddddddd dddddddd dddddddd nnnnnnnn nnqqqqqq
where: t = seconds since Jan 1, 1970, 00:00 UTC u = fraction seconds — accuracy down to 15 microseconds s = shard ID d = domain hash n = progressive number, implemented each time q = qualifier
Learn more: <https://yusur.moe/protocols/siq.html>
Functions
|
Compute a domain hash for SIQ. |
Classes
Representation of a SIQ as an integer. |
|
|
Caching single-type bulk ID generator. |
|
|
|
Implement a SIS-compliant SIQ generator. |
|
Qualifiers for the SIQ. |