Why not just hash it with pretty much any hash function?
If you didn’t care about index clustering then just use UUIDv4