News for hackers. Stuff that matters.
Re:UUIDv47: Store UUIDv7 in DB, emit UUIDv4 outside (SipHash... by devnull3 on Thursday September 18, 2025 @05:38AM (#45287587)
Why not use a different encryption key per session and stamp encrypted ids (or whatever info) to the outside word.

This way the DBs can use simple sequence numbers instead of timestamp based IDs.

Re:UUIDv47: Store UUIDv7 in DB, emit UUIDv4 outside (SipHash... by conradludgate on Thursday September 18, 2025 @04:08PM (#45294346)
You have to know what key to use to decrypt the timestamp bits of the token. If you change keys regularly you have the problem of keeping lots of keys, as well as somehow determining the right key