Generate Uuid From String

[Solved] Generate Uuid From String | Swift - Code Explorer | yomemimo.com
Question : generate uuid from string

Answered by : doge-amazedo

 // You can use UUID this way to get always the same UUID for your input String: String aString="JUST_A_TEST_STRING"; String result = UUID.nameUUIDFromBytes(aString.getBytes()).toString();

Source : https://stackoverflow.com/questions/29059530/is-there-any-way-to-generate-the-same-uuid-from-a-string | Last Update : Fri, 09 Jul 21

Answers related to generate uuid from string

Code Explorer Popular Question For Swift