Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating captcha (alpha numeric) in java

 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can someone give me any idea of generating randon alphanumeric words in java. I do not want alphanumeric inside an image like usually we see in various web sites.
I just need random alphanumeric series.

thanks
 
fred rosenberger
lowercase baba
Bartender
Posts: 12124
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just generate a random number from 1-36, and map them to A-Z plus 0-9.
 
Campbell Ritchie
Sheriff
Pie
Posts: 48953
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adding random affine transforms, changes of font, etc, will help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic