Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105993 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38174 invoked from network); 20 Jun 2019 10:19:20 -0000 Received: from unknown (HELO mail-lf1-f51.google.com) (209.85.167.51) by pb1.pair.com with SMTP; 20 Jun 2019 10:19:20 -0000 Received: by mail-lf1-f51.google.com with SMTP id a9so1664924lff.7 for ; Thu, 20 Jun 2019 00:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dBaLyA6dDJc8PfoL00GrNHlohkj/iUklHIT+H5I3im8=; b=rsvP/07aNJUxWSexuU/Y6RCzBem6fP9zevIszE7DyMjF2W2f6ZxDors5LEzrkmBJ/n TqgAwi30eWETkib1jgfI73hS8srnICu2ohesM9adw92gx5hAzYJtQbA1usf/jlt9aFxp vWBSB/CORrtrhbUSM6ksPU5q4GLoqRTC0RbflKYvUkCyRZBNqDxaUbq64bQQ2uxVJIIv R7UwCxC4KQR8Z7Oc/cS44MrgRKioR6D6yUDFLaZiEWK1nxuZ8GERDefVti2m3lF330pL 14iNpGFJrH+CSHy29ZsOYuqbbSjEmHY5VMi+YPpp0sah4zCZkvvkOsJeaGQa862RehLs dfYQ== 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=dBaLyA6dDJc8PfoL00GrNHlohkj/iUklHIT+H5I3im8=; b=ekOUUn3dOg91GwRkBsK2uCzUfiaJ3/A5S2mmJJxmPXIMtlcZW/BfnerecVolKqNPFs XuqejNBnjTk2GMHcPUPMmb1EgeyHMEyqQ4M22TvmP3irCP1yYk22PJMaDZ4E6t939rNI f357KYXUkfbQ+pS+S1wiF93NQl0rserA7yRDaiUO9nB/A3G3qM0fx5xeTRXlZ40Ismml 3puV1bLV8e2VYO1YvWyLcqBayalgm3yEPULPZA20aI+jhxUtvmeuu+aeCuStS89nqIsB VApxcP7RfNAX1NkgixeMZkIq3+wot/ygghLYkML+p2ascXMTrdhy6wxycFdP0mFB1091 9wBQ== X-Gm-Message-State: APjAAAVOa3HdAtIsoISs9Ac/hW/a8lRKzbdmbK2Ym7XhBWCD3blY3fXG TBXOt4ZnPhj3A4duprspuWbS4B2cVAwDgZgixVE= X-Google-Smtp-Source: APXvYqxWVdJ+guhTJbGlgMi762vRnPPZiO+lKuyCkl0WOp8jECDnlFVwwF6rDcdfcswzryYamt4fXgcuFNzOVqgEFks= X-Received: by 2002:ac2:44b1:: with SMTP id c17mr16640799lfm.87.1561016048724; Thu, 20 Jun 2019 00:34:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 20 Jun 2019 09:33:52 +0200 Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000012b324058bbc5f5d" Subject: Re: [PHP-DEV] libsodium based Argon2i(d) password_hash() From: nikita.ppv@gmail.com (Nikita Popov) --00000000000012b324058bbc5f5d Content-Type: text/plain; charset="UTF-8" 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? 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? Nikita --00000000000012b324058bbc5f5d--