From owner-freebsd-java@FreeBSD.ORG Fri Jun 18 13:05:12 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E080A16A4CE for ; Fri, 18 Jun 2004 13:05:12 +0000 (GMT) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A839943D45 for ; Fri, 18 Jun 2004 13:05:12 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 99D76A93F; Fri, 18 Jun 2004 06:04:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 88600A93E; Fri, 18 Jun 2004 06:04:51 -0700 (PDT) Date: Fri, 18 Jun 2004 06:04:51 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: Gabriel Ambuehl In-Reply-To: <701272026.20040618145053@buz.ch> Message-ID: <20040618060239.T63536@turing.morons.org> References: <701272026.20040618145053@buz.ch> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula Precedence: special-delivery MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: java@freebsd.org Subject: Re: Working implementation of crypt() in Java? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 13:05:13 -0000 Yup, I wrote one. It's totally compatible with FreeBSD's crypt, though I should have used better capitalization in the name. Feel free to twiddle that if you wish. http://www.spatula.net/software/freeBSDcrypt-1.0.jar It only does the MD5 style because that's all I needed at the time. Nick On Fri, 18 Jun 2004, Gabriel Ambuehl wrote: > Hello, > I'm looking for a working implementation of crypt() in Java > (specifically MD5 but a MD5/DES hybrid like on FreeBSD wouldn't hurt). > > I found http://www.extecher.net/code/MD5Crypt.java but it doesn't seem > to yield the same hash as BSD's crypt. So does anybody know of a > working, FreeBSD compatible implementation? > > > > > TIA & best regards, > Gabriel > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://web.morons.org/