[Tutor] CGI problem.

Kent Johnson kent_johnson at skillsoft.com
Sun Nov 7 18:14:45 CET 2004


At 06:22 PM 11/7/2004 +0200, Mark Kels wrote:
>The problem is that I cant hash the password that the user inputs, so
>there is no need to break the problem in two (the first part is
>working with no problems).

OK, I misunderstood.

>Is the input in CGI different from the input in normal programs?
>Can it be that the md5 module has a problem with that kind of input?

No, they are just strings like any other.

>Is there another module like md5 that I can use instead?

Can you post an example of a clear-text password and the hash you expect to 
see from it?
How are you generating the hashes you are comparing against?

Kent



More information about the Tutor mailing list