Get the latest tech news

UUIDv47: Store UUIDv7 in DB, emit UUIDv4 outside (SipHash-masked timestamp)


⚡ UUIDv47 = v4 privacy + v7 performance. Contribute to stateless-me/uuidv47 development by creating an account on GitHub.

Header-only C (C89) · zero deps Deterministic, invertible mapping (exact round-trip) RFC-compatible version/variant bits (v7 in DB, v4 on the wire) Key-recovery resistant (SipHash-2-4, 128-bit key) Full tests provided Why Quick start Public API Specification UUIDv7 bit layout Façade mapping (v7 ↔ v4) SipHash message derived from random Invertibility Collision analysis Security model Build, test, coverage Integration tips Performance notes FAQ License

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Store

Store

Photo of masked timestamp

masked timestamp

Photo of SipHash

SipHash

Related news:

News photo

Affirm and Klarna Pay Later Options Now Available for In-Store Apple Pay Purchases

News photo

Show HN: A store that generates products from anything you type in search

News photo

Windows Developers Can Now Publish Apps To Microsoft's Store Without Fees