Hi,
this program may show you how to use perl's function from inside java:
===
Test.java:
import java.io.*;
public class Test {
public static void main(String args[]) {
String crypt_cmdary[] = { /usr/bin/perl,
-e, print
, the system has to do a lot of password
encryptions.
-Original Message-
From: Reinhard Moosauer [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 3:44 PM
To: Tomcat Users List
Subject: Re: [OT] Re: Java method equal to perl crypt()?
snip/
String crypt_cmdary[] = { /usr/bin
You can use the java cryptography (JCE) package from Sun. its also part of
JRE 1.4 !
-Original Message-
From: AAron nAAs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [OT] Re: Java method equal to perl crypt()?
Although off topic
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