Re: PHP 7.1 - Argon2
| From: | Solar Designer | Date: | Mon, 11 Jan 2016 16:32:38 +0000 |
| Subject: | Re: PHP 7.1 - Argon2 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-90508@lists.php.net to get a copy of this message | ||
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