get the library from http://www.cryptix.org and have a look at the class
cryptix.tools.UnixCrypt. it does what you want ...
cheers
christian
--
Christian Mallwitz INTERSHOP Communications Germany
Senior Software Engineer phone: +49 3641 894 334
> -----Original Message-----
> From: Michael Yeung [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 05, 2000 08:03
> To: [EMAIL PROTECTED]
> Subject: EnCrypt Password in JSP/Java
>
>
> Hi all,
>
> I'd like to ask if there is any cryptography method ....
>
> I have a set of CGI s in an Apache server on one linux box.
> when the user
> surf from their browsers, the CGI has to ask the user name
> and password for
> authentication. THe CGI encrypts the password (crypt function
> in Linux) and
> compare to the encrypted password in the database for the
> authentication.
>
> Now, I am studying the ways if I can do the same thing in
> JSP, Any body have
> experience ?? Suggestions are highly appreciated !!
>
> MIC
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> 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".
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