标签:
SecureRandom sr = new SecureRandom(); byte[] bytes = new byte[8]; bytes = sr.generateSeed(8); System.out.println(new String(Hex.encode(bytes)));
java安全令牌生成器
原文地址:http://www.cnblogs.com/duwenlei/p/4300886.html