Convert a string to a UUIDv3-like format using MD5 hashing.
Takes an input string, computes its MD5 hash, then formats the 32 hex
characters as a UUID with version nibble set to '3' (MD5) and variant
nibble set to '8' (RFC 4122).
This produces a deterministic, valid UUID suitable for Apple's SK2
appAccountToken and Google Play's obfuscatedAccountId.
Parameters
str: string
The input string to hash and format
Returns string
A UUIDv3-like string (36 chars with dashes), or empty string if input is empty
Convert a string to a UUIDv3-like format using MD5 hashing.
Takes an input string, computes its MD5 hash, then formats the 32 hex characters as a UUID with version nibble set to '3' (MD5) and variant nibble set to '8' (RFC 4122).
This produces a deterministic, valid UUID suitable for Apple's SK2
appAccountTokenand Google Play'sobfuscatedAccountId.