BLAKE3-specs VS XKCP

Compare BLAKE3-specs vs XKCP and see what are their differences.

BLAKE3-specs

The BLAKE3 paper: specifications, analysis, and design rationale (by BLAKE3-team)

XKCP

eXtended Keccak Code Package (by XKCP)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
BLAKE3-specs XKCP
8 8
158 563
0.0% 0.5%
0.0 8.2
almost 2 years ago 13 days ago
HTML C
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

BLAKE3-specs

Posts with mentions or reviews of BLAKE3-specs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-13.
  • Reasons to Prefer Blake3 over Sha256
    7 projects | news.ycombinator.com | 13 Nov 2023
    We put a lot of effort into section 5.1.2 of https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak..., and the relatively more complicated part of BLAKE3 (incrementally building the Merkle tree) ends up being ~4 lines of code. Let me know what you think.
  • Why do we even need HKDF's?
    1 project | /r/crypto | 24 Aug 2022
    BLAKE3 is a new function which includes a KDF mode, and is significantly faster than HKDF-SHA256. However, it hasn't seen as much cryptanalysis as more established functions, so I'm still somewhat wary of it (admittedly it's a reduced-round variant of BLAKE2s, with extra modes, so I'm not that wary, but it's still worth a warning).
  • A few questions...
    2 projects | /r/crypto | 24 Aug 2022
    The BLAKE3 spec is also pretty readable (though I think the graphics in the BLAKE2b paper make it a bit easier to understand).
  • Linux Kernel RNG is now Blake2 instead of SHA1 and 3x faster
    6 projects | news.ycombinator.com | 30 Dec 2021
    > That's for 16KiB inputs.

    BLAKE3 needs 16 KiB of input to hit the numbers in that bar chart, but BLAKE2s doesn't. It'll maintain its advantage over SHA-256 all the way down to the empty string. You can see this in Figure 3 of https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak.... (BLAKE3 is also faster than SHA-256 all the way down to the empty string, but not by as large a margin as the 16 KiB figures suggest.)

    On the other hand, these measurements were done on machines without SHA-256 hardware acceleration. If you have that (and Intel chips from the past year do), then SHA-256 does a lot better of course.

  • I Have Settled on XChaCha20+Blake3 for AEAD
    2 projects | news.ycombinator.com | 29 Nov 2021
    Its section 2.1 of the paper: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak...

    Though, note, blake3 still provides enhanced resistance against the attacks against blake2 even in the case where you only have one block, due to the change in how the fundamental hashing primitive is used.

  • Consensus mechanism
    2 projects | /r/tangram | 28 Jun 2021
    Consensus is done with Blockmania, a PBFT consensus protocol. Link P2P networking stack (in progress) = libp2p. Link (currently we're using Serf for cluster membership, but this will be replaced by libp2p) We use Blake 3 for merkle tree and hashing algorithm. Link (amongst others that are standard, e.g. multisig) Lthash is used for block propagation and homomorphic hashing, and to extend for bootstrapping. Link For transaction and balance privacy we use:

XKCP

Posts with mentions or reviews of XKCP. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-20.
  • SHA-3 Buffer Overflow
    5 projects | news.ycombinator.com | 20 Oct 2022
    > Just another nail in the long overdue C/C++ coffin

    C, f**ing C. By the sake of god. Not C++.

    https://github.com/XKCP/XKCP/commit/fdc6fef075f4e81d6b1bc383...

    Something like that in modern C++ would have been done using span<> and that prevents this kind of out-of-bound access party-time.

  • SHA-3 Buffer Overflow - CVE-2022-37454
    5 projects | /r/crypto | 20 Oct 2022
    This and the commit diff itself tell the tale: https://github.com/XKCP/XKCP/issues/105
  • Linux Kernel RNG is now Blake2 instead of SHA1 and 3x faster
    6 projects | news.ycombinator.com | 30 Dec 2021
    With parameters as specified by SHA3 it's a lot slower than BLAKE3

    Keccak (SHA-3) is actually a good deal faster than BLAKE(1) in hardware. That’s the reason why they chose it: It has acceptable performance in software, and very good performance in hardware.

    KangarooTwelve / MarsupilamiFourteen are Keccak variants with fewer rounds; they should smoke BLAKE2 and probably even BLAKE3 in dedicated hardware. Also, they have tree hashing modes of operation like the later BLAKE developers.

    The BLAKE family is best in situations where you want the best possible software performance; indeed, there are cases where you do not want hardware to outperform software (e.g. key derivation functions) where some Salsa20/ChaCha20/BLAKE variant makes the most sense. The Keccak family is when one already has dedicated hardware instructions (e.g. ARM already has a hardware level Keccak engine; Intel is dragging their feet but it is only a matter of time) or is willing to trade software performance for more hardware performance.

    Keccak code is here: https://github.com/XKCP/XKCP

  • XKCP - Xoodoo and Keccak Code package
    2 projects | /r/crypto | 2 Jan 2021

What are some alternatives?

When comparing BLAKE3-specs and XKCP you can also consider the following projects:

BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function

autocert - [mirror] Go supplementary cryptography libraries

experimental-caead - Experimental committing AEAD designed by Soatok.

curve9767

Hakobu

multihash - Self describing hashes - for future proofing

rust-libp2p - The Rust Implementation of the libp2p networking stack.

go-benchmarks - Comprehensive and reproducible benchmarks for Go developers and architects.

bao - an implementation of BLAKE3 verified streaming