Captcha 같이 영문(대+소)+숫자 를 섞어서 출력하려고 하다가 보니 몇가지를 만들었네.
"Completely Automated Public Turing test to tell Computers and Humans Apart" Code1 근데 말이지… 좀더 줄이고 다양하게 할 수 있을꺼 같은데… -------------------------------------------------------------------------------- public static String getCode(int len) { byte[] wd = new byte[]{0x41,0x61,0x30,0x30}; int[] lwd = new int[]{26,26,10,10}; Random r = new Random(); String str = ""; for(int i = len; i-- > 0;) str += (cha..
2009.11.24