Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113252 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 57068 invoked from network); 25 Feb 2021 04:18:28 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Feb 2021 04:18:28 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 934471804E4 for ; Wed, 24 Feb 2021 20:07:21 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 24 Feb 2021 20:07:21 -0800 (PST) Received: by mail-pf1-f172.google.com with SMTP id q20so2737094pfu.8 for ; Wed, 24 Feb 2021 20:07:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=InsuZExN0N8La2ItdaVDS9BUPXCLIIzLsTXcbXTeL1Y=; b=X0SsVxSGB5McJe8DXJY7yQzq0ZDamWsvEPI5kag8aUlznrBLzbMCQ0Aacyfn5cYuZ9 Kf1gM1zOsJ/yPvZ/GeEnXZ2JzQEl0L/nDknbBW5iPZh+CnkqSdpxDwjIquwPLsLbA8L1 1pYOQhPHlIE7Z+oaTM4AAE03xixoZAiwolSfKzJ2F1G9SptEZOy0NUpEyy6hdmVWux5r AoWKFH3I9ZQwYx0nL5G3Yb3U0bqzGEJMzSCc7gH0IojtW6IU0Xo+gxoKDivlXMZNZBwe EeNtLPc8OhKjkVZseHYkQc5EsSLRVmKyQ/M421VMd+DTeqiBf3i+ow36tqI/Vw0X12eU tibw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=InsuZExN0N8La2ItdaVDS9BUPXCLIIzLsTXcbXTeL1Y=; b=LJda2nBcNCL9/YzCTuIvmdZbhEZIWpvP8N/aSasoQI/evHU3iztmuKVqAvghwdJdif WsWUHli0OrGL+mz5R6ozGcyLq6SdS2DK0hluORh/oktcNY5f4InlE9khdLZTodgh3BPP DJeNQfzVNtEHqvqQH+6B7G8G5Svk52qgYdcX+a0G/GapOckUFYOK7ixledroQOx5FuZE AVnLs0EcY5v2Qfj2Q5oxaLhkCbJxGsy9zPue7JNQLnoGYzaI1xyE3PaFjg9wgUGsC5CF U+nyjJiS0W+peph/QggLBBx5I8HXDXuR9wdhXod/ORbxxk7tIW5n7ALUdZ4LogDmFV/T KiRg== X-Gm-Message-State: AOAM533Dg4ybVul+E9mft+7YzDoiIP5YbGYQbkPz3tDMRZ3XdXnqSndI Fyl02vtYmMOlE3rdz6sg0DLX7yMeUm5c8rywlmPaYHk90ooH8g== X-Google-Smtp-Source: ABdhPJzTOOs0N/kXtwU9j6TL/rxwLSqYAZc/Q7YqtiOVfhVldp4MLaeOhBu2kFlHr7sek3xzTeLCv+R/jg9QRJGEACA= X-Received: by 2002:a63:f648:: with SMTP id u8mr1187320pgj.270.1614226036069; Wed, 24 Feb 2021 20:07:16 -0800 (PST) MIME-Version: 1.0 Date: Thu, 25 Feb 2021 05:07:01 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000077af8805bc2149e0" Subject: support for BLAKE3 hash? From: divinity76@gmail.com (Hans Henrik Bergan) --00000000000077af8805bc2149e0 Content-Type: text/plain; charset="UTF-8" BLAKE3 is a very fast cryptographically secure hash algorithm, when i run this implementation https://github.com/php/php-src/pull/6358 against ext/hash/bench.php on an i7-8565U, it's competing against adler32 in performance, and it's significantly faster than every other cryptographic hash (~2.6 times faster than md5 ! and ~4.6 times faster than sha3-256) it's also the latest iteration of the BLAKE hash, which was a SHA3-finalist, more info about it can be found here: https://github.com/BLAKE3-team/BLAKE3 any chance of getting BLAKE3 supported in php? it'd be a good fit for projects seeking "the fastest cryptographically secure hash", and with Tiger having near-collisions and SHA2 being vulnerable to length-extension, i think that's currently sha3. --00000000000077af8805bc2149e0--