Java tutorial
//package com.java2s; import java.util.UUID; public class Main { private static String getUuid() { return UUID.randomUUID().toString().trim().replaceAll("-", ""); } }