Java tutorial
//package com.java2s; //License from project: Apache License import java.math.BigInteger; import java.security.SecureRandom; public class Main { static String getGeneratedUdid() { SecureRandom localSecureRandom = new SecureRandom(); return new BigInteger(64, localSecureRandom).toString(16); } }