Java tutorial
//package com.java2s; //License from project: Open Source License import java.util.UUID; public class Main { public static String getUUID4() { return UUID.randomUUID().toString(); } }