toUidString

fun Project.toUidString(): String(source)

Generate a consistent, unique ID for this project.

The UID is generated based on a combination of the project's group and name. The result will be a hashed, uppercase string using hex values (e.g. "F169AE3A...").

The string generated is fairly long, but you can definitely truncate it and still have reasonable randomness from that. For example, if you truncate this to 4 characters, the chance of a collision is 1 out of 16^4, or 1 out of 65,536.