Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124672 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 79F371A00B7 for ; Mon, 29 Jul 2024 06:47:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722235735; bh=dQLxBsvfjZshWEwILRG31he8xvD4gC7TEUsOV+IhkVU=; h=Date:From:To:Subject:In-Reply-To:References:From; b=fFsNo1ANqVPzzXmpY/4GiPPasLmcq385xEB7D/O4N0aY/iqKtmDGpTLALqPmNqGp7 A3nAlNisIzG89v/vxOqK1hUQiV6NLyveeVVOQVDdpBGGLTPrEt3WC6wvYaEl8QEZJ9 /bV4lobAD7QFXRkyMvlFyY9WNQ+0JE1tbZSgBrUgqcmE9K3L/6Mik789lSovtvoxax rwfUhqd9Eupr5DKLyfCG1pvseYf8etvTZXAO/CSD6czMyobFpdlRq5B3w23FDnjHqb +vTau9RmgAXiwrBbtZ5v20Xgt6dvA1wTByKxpw8ceNbww2ebtXkMUePHRefziX28FU ZQOYcTQMeGKHg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D99F8180055 for ; Mon, 29 Jul 2024 06:48:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout6-smtp.messagingengine.com (fout6-smtp.messagingengine.com [103.168.172.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 29 Jul 2024 06:48:53 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 99E0D1380259 for ; Mon, 29 Jul 2024 02:47:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 29 Jul 2024 02:47:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1722235635; x=1722322035; bh=dQLxBsvfjZshWEwILRG31he8xvD4gC7TEUsOV+IhkVU=; b= WRCluwokCVaHX4NK2Vk7ToHVu4bnqR8zMBcrGNY9LXUZvvXCC6P/N2f7VvXrwhPz L+OngHaOXhONdQHVO/NvFG1UI0A+eiA7x6axcds+Up1BvqgwfKauTbzFJwknM7VZ uKYXW9vkM7UO7ZNJqk3K87dlwj1AzZ3LCGum7XTv3gwmNu9sejkjkkCxT0OdQ6UG 891XYDeNTOs9kDtQfxzgyGvwlW/N9JYKHkSSsMOn+PXniQoiuNCuiRe2CMjyLrhT n2MxZWjZA61roWjeKlUzc/axVUgurJIyUOnjt7Jf7rWO4WOfUzuXIWw8W09olX35 TitUEXUzufRe+PMb6tknqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722235635; x= 1722322035; bh=dQLxBsvfjZshWEwILRG31he8xvD4gC7TEUsOV+IhkVU=; b=H w+B+slDgFGY/ZV3hK6Icp/lYVtvLVCdYPCcsJWwNJz6iNdDDbJm0e+1pAKVek7fP GlaqTWJmU3TVdTuL+peOVa26Cdr1IHIZXH9r0gTcADIs6Kphf47AW4b49UkM8pq0 PzESoP1haJV2KwgyuZEgOfcNpBGgZg6revCRG832kLO6fzpm+MnfksvFNF7Q2yuZ IWdiPYlPHP8JoLtQEZZJEUjTN5A5cIcKyWlCXwqFt6WAOZ2fIX7E6VfacVmv3+0u BXuh4hkbhF/3LFr2PKwEGgMVRRq4znWs/ELYLhVE4V0X7qZKfj+GJNcuOCp3TM37 +aLlxoscSerBefRWzJzhw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjedugdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvufgfjghfkfggtgfgsehtqh hmtddtreejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhnshculgfkoffuohfrngdf uceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenucggtffrrghtthgvrhhnpe ehleffteeigfevudetfedugedtudevledugeeugeelheeihfehgfdtkeevvefgleenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehimhhsohhprd hphhhpsehrfigvtgdrtghordhukhdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 29 Jul 2024 02:47:14 -0400 (EDT) Date: Mon, 29 Jul 2024 07:47:12 +0100 To: internals@lists.php.net Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4 User-Agent: K-9 Mail for Android In-Reply-To: References: <1a88918e-e808-d778-45e1-53797660e093@php.net> <3563cf9b-8eab-4c82-b525-a5d2f9a767bb@varteg.nz> <38920A4B-790D-48C7-B2F6-C49D3F506232@rwec.co.uk> <951AA94A-8C07-446E-925C-15BB97F146A4@newclarity.net> Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 29 July 2024 02:19:23 BST, Morgan wrote: >At that point you've got \PHP\sha3() instead of hash("sha3-?"), and now y= ou've (a) lost the word "hash" indicator of what's going on, and (b) hidden= the choice of "?" from the user=2E I'm not really seeing an improvement=2E Once again, you're assuming users have any idea a) what the numbers in the= SHA3 variants mean, and b) how to choose between them=2E=20 I've seen plenty of uses of SHA-256 in the wild, and none of the other SHA= 2 variants=2E I don't know why, I presume people with far more knowledge th= an me have decided that is a good choice of variant=2E So when I'm looking = for "something better than sha1()", I look for sha256(), remember it doesn'= t exist, and write hash('sha256', =2E=2E=2E) If I'm doing it wrong, and should be making some calculation to choose SHA= -382 or SHA-512, please let me know=2E But don't assume that just forcing m= e to put the algorithm name in qoute marks is going to make me know, or car= e, what the name actually means=2E Regards, Rowan Tommins [IMSoP]