Answers for "java how to get UUid with string"

1

uuid from any string java

import java.utils.UUID;

String strInput = "-1068942631";
String uuidFromString = UUID.nameUUIDFromBytes( String.valueOf( strInput ).getBytes() ).toString();

System.out.println(uuidFromString);
Posted by: Guest on March-07-2021
1

java string to uuid

UUID.fromString(string);
Posted by: Guest on June-30-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language