From owner-freebsd-java Mon Jan 18 05:41:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA11292 for freebsd-java-outgoing; Mon, 18 Jan 1999 05:41:38 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from DegNet.de (degnet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA11287 for ; Mon, 18 Jan 1999 05:41:35 -0800 (PST) (envelope-from malte.lance@gmx.net) Received: from neuron.webmore.prv (GateWay [192.168.168.1]) by DegNet.de (8.8.8/8.8.8/Debian/GNU) with ESMTP id OAA22499; Mon, 18 Jan 1999 14:40:29 +0100 Received: from neuron.webmore.prv (neuron.webmore.prv "Malte Lance") by neuron.webmore.prv (8.8.8/8.8.8) with ESMTP id OAA00600; Mon, 18 Jan 1999 14:38:41 +0100 (CET) Message-Id: <199901181338.OAA00600@neuron.webmore.prv> Date: Mon, 18 Jan 1999 14:38:39 +0100 (CET) From: Malte Lance Reply-To: malte.lance@gmx.net Subject: Re: crypt() equiv? To: iang@systemics.com cc: freebsd-java@FreeBSD.ORG, tom@sdf.com In-Reply-To: <199901181149.HAA25357@systemics.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18 Jan, Ian Grigg wrote: > >> Is there a crypt() equiv in the Java class libs? I'm trying to re-code >> a perl adduser script in Java, and I'm hung up on what to do about >> crypt(), and I'd like to avoid re-implementing something. > > Unlikely. Java doesn't know about Unix systems stuff, and > crypto stuff is hard to export. > > In Cryptix 3.0.3 there is a crypt program, which implements > the DES variant (from memory). It doesn't do the hash > variant of crypt, but that is probably implemented with > MD5 and that is also included if you fancy hacking around. > Have a look at http://www.hi.is/~logir/cryptonite/ Malte. > iang > > PS: http://www.cryptix.org/ -- Malte Lance. --- composed with TkRat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message