java 生成32位字符串

1.在选择字符串范围内随机生成字符串

    String zfcAll = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
	char[] zfc = zfcAll.toCharArray();
	String str = RandomStringUtils.random(32,zfc);

你可能感兴趣的:(java-工具类,java)