From owner-freebsd-java@FreeBSD.ORG Mon May 22 18:12:27 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 8E28F16A5DE for ; Mon, 22 May 2006 18:12:27 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 161D343D48 for ; Mon, 22 May 2006 18:12:26 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from localhost (localhost.morons.org [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 383E517039; Mon, 22 May 2006 11:13:10 -0700 (PDT) Received: from turing.morons.org ([127.0.0.1]) by localhost (turing.morons.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86437-05; Mon, 22 May 2006 11:13:04 -0700 (PDT) Received: by turing.morons.org (Postfix, from userid 1001) id E429D17037; Mon, 22 May 2006 11:13:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id E381317036; Mon, 22 May 2006 11:13:04 -0700 (PDT) Date: Mon, 22 May 2006 11:13:04 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: Jiawei Ye In-Reply-To: Message-ID: <20060522111203.M22513@turing> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at morons.org Cc: freebsd-java@freebsd.org Subject: Re: Working implementation of crypt() in Java? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 18:12:28 -0000 On Tue, 23 May 2006, Jiawei Ye wrote: > If you need to use MD5/SHA1 and friends, you can use them from JDK directly. That would work if FreeBSD encrypted passwords were just MD5's. They're not. There's actually a rather convoluted algorithm that's based on MD5, but it's not just MD5 by itself. Nick -- "Progress is impossible without change, and those who cannot change their minds cannot change anything." --George Bernard Shaw This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/