Java tutorial
//package com.java2s; import java.util.UUID; public class Main { public static String get32RandomString() { UUID uuid = UUID.randomUUID(); String uuidStr = uuid.toString().replace("-", ""); return uuidStr; } }