Boldewyn/bookmarks — Issue #28: Reduce collision prob for link shortener
Author: Boldewyn
Created: 2011-11-29 12:18:50+00:00
State: open

CRC32 has a too large possibility for collisions.

We could use pack(index) . substring(crc32(url)), which is still acceptably random enough to not be guessed.