Joke Collection Website - Blessing messages - I'm working on a project using eclipse. Now I need to log in and want to make a verification code. That person can give me the specific code and steps.

I'm working on a project using eclipse. Now I need to log in and want to make a verification code. That person can give me the specific code and steps.

verification codes are usually made of pictures. I haven't done it. I made my own letter verification code with random numbers. I posted it below. If you want pictures, it's not too much trouble. You can think for yourself, too, using random numbers, and then determine which picture to display.

Code:

public class random str {

static string random str (int num.

// Cycle to randomly generate strings;

for(int i=; i< num; i++)

{

int intVal=(int)(Math.random()*26+97); //Randomly generate numbers in the range of 97-124;

s=s+(char)intVal; //Convert the generated number into character form, and then add it to the string;

}

return s; //Return the randomly generated character string to the calling program;

}

public static void main(String[] args)

{

String randomstr=randomstr(6); //Randomly generate a string of 6 characters;

System.out.println(randomstr); //Output string;

}

}