You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Gudipati, Arvind" <Ar...@PANACYA.com> on 2002/12/02 18:34:58 UTC

RE: [OT] Re: Java method equal to perl crypt()?

You can use the java cryptography (JCE) package from Sun. its also part of
JRE 1.4 !

-----Original Message-----
From: AAron nAAs [mailto:aaron_naas@hotmail.com] 
Sent: Thursday, November 28, 2002 12:37 PM
To: tomcat-user@jakarta.apache.org
Subject: [OT] Re: Java method equal to perl crypt()?


Although off topic, the standard unix crypt algorithm has been 
written/ported to many languages (I've even seen source code in books.. 
Applied Cryptography I think).

I know versions exist for Java, or you could just convert a basic, C, C++ or

Pascal version to Java.

Seek with Google,
-AAron

>From: "Galbayar Dorjgotov" <ga...@mobinet.mn>
>Reply-To: "Tomcat Users List" <to...@jakarta.apache.org>
>To: "TomCat Users" <to...@jakarta.apache.org>
>Subject: Java method equal to perl crypt()?
>Date: Thu, 28 Nov 2002 17:33:45 +0800
>
>Ok, I have an existing MySQL database that has user's passwords stored 
>that were encrypted using the Perl "crypt()" function. I was wondering 
>what the best way to re-use this database using JSP. I know enough Java 
>to get most functionality working, and I can already connect to and 
>read/write to MySQL. The only problem I have is if I migrate to JSP, 
>how can I compare passwords that are supplied in the JSP page to the 
>password in the DB that was stored via the Perl crypt() function?
>
>
>--
>To unsubscribe, e-mail:   
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
****************************************************************************
*************                                 This E-mail is from PANACYA
Inc. The E-mail and any files transmitted with it are confidential and may
also be privileged and intended solely for the use of the individual or
entity to whom they are addressed. Any unauthorized direct or indirect
dissemination, distribution or copying of this message and any attachments
is strictly prohibited. If you have received the E-mail in error please
notify administrator@panacya.com or telephone (410) 910-3300.
****************************************************************************
************