Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122211 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 87802 invoked from network); 22 Jan 2024 07:13:28 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jan 2024 07:13:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1705907651; bh=3iTj/JYU66K2exaWW+RRhWvEfttivdOq4FNlQKZsUGk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OYTla4yLM+7OFTne3Ct87Zy+NtjrkjuyrcnJb+XPu2ktCN8o7/KBjf6VTY9PrJH3M 5hQdkHxewMifMpxO83x4xP7v+erZahZN95noXkJvpk9DoPkaRK1TnxacRmzDp785Kq /vy5WOhiRqIiBSwuyqqRlJTD34flqtnqJhlgsixEPl4IHOAkor7kyEdDXX3w1WUDEd WmhW4pl/7kvgFhTSfNdcx05x22QEtG6vI8fu/zbfPqUSAmYVm2OLDf1jVoM8LFGBEl rgJDT+llnjaNMtwx+R82wp8a9tM68oDGjZVXiimLzFDDU0inZJNlIy++z4ckLqidbO JyDefcoaX5cug== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 61A28180062 for ; Sun, 21 Jan 2024 23:14:09 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-oa1-f41.google.com (mail-oa1-f41.google.com [209.85.160.41]) (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 ; Sun, 21 Jan 2024 23:14:08 -0800 (PST) Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-210a73a5932so2022500fac.3 for ; Sun, 21 Jan 2024 23:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705907605; x=1706512405; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3iTj/JYU66K2exaWW+RRhWvEfttivdOq4FNlQKZsUGk=; b=nAHtwN+snI9CxPpxtx9Mv67L1lvDO1n7rhg5gYw73yMb43ZyshqQ+NdxzAJ5KEfkEA rwhZZO2sHT1ezSrk7r/F7W+Lo8WPnxo66cR6oTDpeM6FlhZ5lJVkE0hVYSmvyi/I63OH I8L0SdTxzIRcP3gdvkEFDx8GbEeYL7zMQTuuf/J2KZdUa8SSFI64wWOG+eZZokuI5RKd oyc1CiHjUnlv0DauNSEder1LJOdtWyj59ADkgudwaOHapH2heVpdiVkz5Nai6e2bz0/n 1Jjw14MGCzimaGrtCK3XPzybV4hevypOmX1V6NhD2jHRjxcvrr/fbrT5het9xc/2JDD3 P9VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705907605; x=1706512405; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3iTj/JYU66K2exaWW+RRhWvEfttivdOq4FNlQKZsUGk=; b=cf/p6TGQJhWL2Cg2jl9ekEmYRHoy+allzNb2GXM8EdWnGO5bJ4X7vYk6MjI2G4U7V5 IAnD4bQx4OcIXAs58lW2CVqN4OXmGjjYHCVh8Hwilb3gBsFBrnaDPFZKl8wALKi0GUzU Fv6YGlxSkeH4vf3uV6bXNd9Qgq4FootpVYMvcjzMeGGoJkqSLQRptX4XWixdBOBcjfVv OXNusI7P36RpA0g9UQaWRJVFory/1nCK7gHSFAe59fi4yfqcTRCbCSB/5WYgJ9PCnbgk +4lZXrpprBhJc0+oD7MCl9dD3YExx0jdXBURlqtp2nqVOX7bhtlHfhHpaQPnp0UGqY5o a+lQ== X-Gm-Message-State: AOJu0YySzab5JvZPtsc8fzjXldMkbgEr/UrbNKbprgG9SHRNYhdaMmTy whf6FtgOagxloFXFWi3MgVmnPr+zG2HkVbHNbZkX75NWdQZKzPSxlke3f0DTlSYj8vFUGNKlnmb hL5gdCrlpEyWWOf8Eq7I0FDRjo1s= X-Google-Smtp-Source: AGHT+IHSN/IEi1fUYfm9QI4r17RBECh5PKNcgMtcbA6VHcjkCD+HUOhKiC4jrwv0ZrumrPLuCj7vb4ebqtQUA+kkSlY= X-Received: by 2002:a05:6871:5213:b0:203:ef0f:7042 with SMTP id ht19-20020a056871521300b00203ef0f7042mr4112152oac.21.1705907605189; Sun, 21 Jan 2024 23:13:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 22 Jan 2024 08:12:48 +0100 Message-ID: To: tag Knife Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] BLAKE3 hash From: divinity76@gmail.com (Hans Henrik Bergan) On Mon, 22 Jan 2024 at 07:10, tag Knife wrote: > > That's why I suggested implementing separate lengths of the like we have for SHA3, so we could have BLAKE3_256 and BLAKE3_512 and maybe inbetweens. we can look into exposing blake3's XOF (arbitrary length) capabilities after (and if) initial blake3 support gets merged. would probably look something like hash_final($ctx, options:["length"=>512/8]); hash("blake3", "x", options: ["length"=>512/8]); and deserves its own dedicated pull request. On Mon, 22 Jan 2024 at 03:43, Gina P. Banyard wrote: > > Just an etiquette note, please don't top post on the mailing list. [1] > I have no idea what this sentence is replying to, and it makes following the discussion difficult. I see, thanks for the heads up.