Hi,
Apache uses the crypt() function (the same way unix passwords are
encrypted), since crypt is an one-way function you cannot decrypt the
encrypted passwords.
For an implementation of the crypt function refer to:
http://208.223.9.21/jfd/crypt.html


Thorsten Schiffer


At 12:05 02.05.2001 +0530, you wrote:
>Hi,
>
>I understand that Apache has an internal password encryption system that it
>uses for encrypting passwords in .htaccess file. What is the algorithm used.
>How can I write a JAVA program to do encryption decryption of passwords
>using the same method?
>
>Hardeep Singh
>http://SeeingWithC.cjb.net
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to