From owner-freebsd-java Mon Jan 18 03:49:16 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA29909 for freebsd-java-outgoing; Mon, 18 Jan 1999 03:49:16 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from systemics.ai (systemics.ai [209.88.68.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA29903 for ; Mon, 18 Jan 1999 03:49:14 -0800 (PST) (envelope-from iang@systemics.com) Received: from menger.systemics.ai (systemics.com) [209.88.68.60] by systemics.ai with esmtp (Exim 2.05 #1 (Debian)) id 102DAt-0003na-00; Mon, 18 Jan 1999 07:48:55 -0400 Received: (from iang@localhost) by systemics.com (8.8.8/8.8.8) id HAA25357; Mon, 18 Jan 1999 07:49:07 -0400 (AST) (envelope-from iang) Date: Mon, 18 Jan 1999 07:49:07 -0400 (AST) From: Ian Grigg Message-Id: <199901181149.HAA25357@systemics.com> To: freebsd-java@FreeBSD.ORG, tom@sdf.com Subject: Re: crypt() equiv? Reply-To: iang@systemics.com In-Reply-To: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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. iang PS: http://www.cryptix.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message