I would like to generate a UUID string from a random string, so that the same input string generates the same UUID.
I don't care about getting the input string back from the UUID. I need this to deterministically convert keys in a database as part of a migration, so that different clients acting in parallel converge to the same result.
The accepted answer of this post has the answer in Java, I would need the Swift version.