kovacs-levent / Blake3-Python

This repository contains the source code for our Applied Cryptography Project Seminar class project at Eötvös Loránd University (ELTE). Our project is a native python implementation of the BLAKE3 hashing algorithm.
1 stars 2 forks source link

Parent Node Chaining Values #6

Closed kovacs-levent closed 3 years ago

kovacs-levent commented 3 years ago

Parent Node Chaining values, in the Merkle tree each parent node has 2 children, the childrens can be chunks or another parent node. The chaining of parent nodes are done by a single compression function call, this is closely related to the Merkle Tree and the compression function, see here and here.

For more info read section 2.5: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blake3.pdf

kovacs-levent commented 3 years ago

Implemented using the compression function (see parent node merging in add_chunk_value function).