Generating activation code
Hi, dear friends!!! I'm new in java
I'm realizing new Certificate Authorization.
Now I'm in activation code step.
I've a problem with realizing activation code.
As I understand, activation code works like this:
1) I get a id+users e-mail, and got a digest with MD5 or SHA1
2) I save the digest to base and send it to user
3) User gets a digest and resends it to me
4) I check: if my digest and digest, which user send are equal, then I believe that, there are such as e-mail, and I send some another information via user's e-mail.
Friend, firstly, sorry for my poor English.
Second, please let me now, am I understand validating e-mail right? If there are something wrong, please advice me.
Thank for attention and advices! :)