unfurl icon indicating copy to clipboard operation
unfurl copied to clipboard

Firebase Push IDs

Open obsidianforensics opened this issue 5 years ago • 0 comments

Description Firebase's push IDs are the chronological, 20-character unique IDs. A push ID contains 120 bits of information. The first 48 bits are a timestamp, which both reduces the chance of collision and allows consecutively created push IDs to sort chronologically. The timestamp is followed by 72 bits of randomness

Examples

  • "-JhLeOlGIEjaIOFHR0xd"
  • "-JhQ76OEK_848CkIFhAq"
  • "-JhQ7APk0UtyRTFO9-TS"

References

  • https://firebase.googleblog.com/2015/02/the-2120-ways-to-ensure-unique_68.html
  • https://gist.github.com/mikelehen/3596a30bd69384624c11

obsidianforensics avatar Jan 10 '20 06:01 obsidianforensics