使用jcaptcha-1.0-all.jar package com.indigopacific.customagent.sms; import com.ponent.word.wordgenerator.RandomWordGenerator;
import com.ponent.word.wordgenerator.WordGenerator; public class RandomCodeGenerator { public static void main(String args[]){
WordGenerator wordGenerator = new RandomWordGenerator("abcdefg");
for(int i=0;i<100;i++){
System.out.println(wordGenerator.getWord(5));
}
}
}
如果觉得《java 生成随机码 字符数字图片等》对你有帮助,请点赞、收藏,并留下你的观点哦!