Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90508 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54137 invoked from network); 11 Jan 2016 16:33:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2016 16:33:05 -0000 Authentication-Results: pb1.pair.com header.from=solar@openwall.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=solar@openwall.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain openwall.com designates 195.42.179.200 as permitted sender) X-PHP-List-Original-Sender: solar@openwall.com X-Host-Fingerprint: 195.42.179.200 mother.openwall.net Received: from [195.42.179.200] ([195.42.179.200:61210] helo=mother.openwall.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/C2-40147-E39D3965 for ; Mon, 11 Jan 2016 11:33:03 -0500 Received: (qmail 19716 invoked from network); 11 Jan 2016 16:32:59 -0000 Received: from localhost (HELO pvt.openwall.com) (127.0.0.1) by localhost with SMTP; 11 Jan 2016 16:32:59 -0000 Received: by pvt.openwall.com (Postfix, from userid 503) id 1217B4A4BD; Mon, 11 Jan 2016 19:32:39 +0300 (MSK) Date: Mon, 11 Jan 2016 19:32:38 +0300 To: Anthony Ferrara Cc: Rouven We??ling , Pierre Joye , Scott Arciszewski , PHP internals , JP Aumasson , Samuel Neves , Dmitry Khovratovich , Thomas Pornin Message-ID: <20160111163238.GA8284@openwall.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Subject: Re: [PHP-DEV] PHP 7.1 - Argon2 From: solar@openwall.com (Solar Designer) On Mon, Jan 11, 2016 at 10:04:36AM -0500, Anthony Ferrara wrote: > To my understanding, the crypt scheme hasn't been formalized. Solar > Designer, can you confirm? I think it has been, in the way defined by encoding.c in: https://github.com/P-H-C/phc-winner-argon2 $ echo password | ./argon2 salt | grep ^Encoded Encoded: $argon2i$m=4096,t=3,p=1$c2FsdAAAAAAAAAAAAAAAAA$pDVCkCwe3h2SnqGPAGNoM36WzhyGPAd+bb3BLrxyzWw $ echo password | ./argon2 salt -d | grep ^Encoded Encoded: $argon2d$m=4096,t=3,p=1$c2FsdAAAAAAAAAAAAAAAAA$Js0T8jeqwDeja/AQ+x2o4SUn22MofUW2f88RlMRhQso I haven't been involved in this closely, though. Alexander