import java.util.UUID;
class UUIDConverter {
public static UUID reverseUUIDToString
(String uuidString
) { UUID uuid = UUID.nameUUIDFromBytes(uuidString.getBytes());
return uuid;
}
public static void main
(String[] args
) { String uuidString
= "fe4b6348-b565-48ee-a833-5c650ee7be56_rm_provisionRequestId"; UUID originalString = reverseUUIDToString(uuidString);
System.
out.
println("Original String: " + originalString.
toString()); }
}
aW1wb3J0IGphdmEudXRpbC5VVUlEOwoKY2xhc3MgVVVJRENvbnZlcnRlciB7CgogICAgcHVibGljIHN0YXRpYyBVVUlEIHJldmVyc2VVVUlEVG9TdHJpbmcoU3RyaW5nIHV1aWRTdHJpbmcpIHsKICAgICAgICBVVUlEIHV1aWQgPSBVVUlELm5hbWVVVUlERnJvbUJ5dGVzKHV1aWRTdHJpbmcuZ2V0Qnl0ZXMoKSk7CiAgICAgICAgcmV0dXJuICB1dWlkOwogICAgfQoKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBTdHJpbmcgdXVpZFN0cmluZyA9ICJmZTRiNjM0OC1iNTY1LTQ4ZWUtYTgzMy01YzY1MGVlN2JlNTZfcm1fcHJvdmlzaW9uUmVxdWVzdElkIjsKICAgICAgICBVVUlEIG9yaWdpbmFsU3RyaW5nID0gcmV2ZXJzZVVVSURUb1N0cmluZyh1dWlkU3RyaW5nKTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIk9yaWdpbmFsIFN0cmluZzogIiArIG9yaWdpbmFsU3RyaW5nLnRvU3RyaW5nKCkpOwogICAgfQp9