Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106009 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 8250 invoked from network); 20 Jun 2019 23:43:18 -0000 Received: from unknown (HELO mail-qt1-f178.google.com) (209.85.160.178) by pb1.pair.com with SMTP; 20 Jun 2019 23:43:18 -0000 Received: by mail-qt1-f178.google.com with SMTP id m29so4716369qtu.1 for ; Thu, 20 Jun 2019 13:58:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FGB48rW4ajh0DwrvEs2cWFqFhvca9ZkjYtC6DZ1aiIE=; b=R3s144oAcXDGRfnW1+Q1L7I6y6cpM24J/FScGS28GLoRkX05IbdPaBTT1h4EODQxhI dlfvMvx14z3VLK4JKO55jmiwZ6k8BErcXn9iHv305Neln4Gy8xFaDB1+UfUjCIxIanzM o1o3f1N00Fk/UeXKPGNQK1V3ZGwNW5gjq2FWRXiIJ3PKhDScsaQujwRW3xApf3w2uq2M pAUUDk5iLSx5/hWlL5grh6AmlL1BGqtXm3b4E7q6LG0t3pHHlMj6ED6HQximQCgPpx6w l8j31Im1gs01+cJTIVotkUBJ4cJu8Ml7zvRl/71KO3mAlN2hNK3DcX4Dl0y8xD/rJs2q NtFg== X-Gm-Message-State: APjAAAWosRR/cSO+iaVD7dlvBrzmVrRE++xmXn1bgmPBK4uqdALE81jJ JOPFG5PuT+iV4ec45Mwm04HR2ZwdiRSilJvTrijXog== X-Google-Smtp-Source: APXvYqzq8dihtC5zc+B4izl8Kpnq0uE2hoxJeGCcved2bl15btnRdiDL7R6ftHMdIH6AD82/ztehx0y6JEHXXWYX7DQ= X-Received: by 2002:ac8:2e14:: with SMTP id r20mr56374028qta.241.1561064297551; Thu, 20 Jun 2019 13:58:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 20 Jun 2019 15:58:06 -0500 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000ed7290058bc79aef" Subject: Re: [PHP-DEV] libsodium based Argon2i(d) password_hash() From: pollita@php.net (Sara Golemon) --000000000000ed7290058bc79aef Content-Type: text/plain; charset="UTF-8" On Thu, Jun 20, 2019 at 2:34 AM Nikita Popov wrote: > On Thu, Jun 20, 2019 at 12:54 AM Sara Golemon wrote: > > > I intend to move https://wiki.php.net/rfc/sodium.argon.hash into voti > > > > For "threads" (p=# in the hash output), the current PHP default is 2, > > while libsodium is hardcoded at 1, we can't override that. > > ng on > > Friday. > > > > Note that I need to update the PR to reflect the decision to synchronize > > the time_cost and mem_limit defaults for libargon based hashing with > > libsodium. > > > > If you have any last minute issues with this RFC, please bring them up > now. > > > > Could you please explicitly specify what the new default time/memory cost > factors will be? > > Done. > Also, what is going to happen with threads? I assume the default will > become 1, but what happens is a larger value is specified while libsodium > is used? > > Default to 1. Users will be allowed to specify higher numbers, but the sodium implementation will produce an error with values > 1. -Sara --000000000000ed7290058bc79aef--