Vishnu Shrikar
10/21/2023, 9:43 AMkevin.cianfarini
10/21/2023, 9:45 AMEdoardo Luppi
10/21/2023, 10:09 AMtodd.ginsberg
10/21/2023, 11:55 AMVishnu Shrikar
10/22/2023, 6:31 AMnameBasedUuidOf
function is what you need to use for this.
You will need to pick a UUID namspace, i picked x500 and call uuidFrom on that, and you will need to implement the UUIDHasher interface. A easy way to do this is to bridge this library
https://github.com/KotlinCrypto/hash
this should be a dependancy and implmented but it seems that users of the library must learn the entirety of the UUID algorithm if they want to use this. I used uuid5 with SHA1 but you can pick and choose really. I believe this should help anyone who stumbles across this