I'm trying to use mod_authpg with Apache-Tomcat and I've a probleme :
How to fill the password field in Java.
In fact, I don't know how to Hash the password.
Does anybody have this somewhere ?
Thanks a lot
Eric
From: Min S. K. <mi...@ba...> - 2001-04-14 23:33:24
* Eric MARTIN <em...@ca...> [20010413 12:46 CDT]:
> I'm trying to use mod_authpg with Apache-Tomcat and I've a probleme :
>
> How to fill the password field in Java.
> In fact, I don't know how to Hash the password.
>
> Does anybody have this somewhere ?
I don't know whether there's a Java implementation of crypt() or not. But
you can convert the C code to Java. There're many places where you can find
the C source code of crypt(). One of them is:
http://www.ecst.csuchico.edu/~atman/Crypto/code/codeindex.html
--
Min Sik Kim
http://www.cs.utexas.edu/users/minskim/