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

BLAKE3 modes of operation investigation #4

Closed kovacs-levent closed 3 years ago

kovacs-levent commented 4 years ago

According to the specification there are 3 modes for the BLAKE3 hashing algorithm:

  1. Simple hashing
  2. Keyed Hashing
  3. Key derivation

Investigate how these 3 differ from each other, is it feasible to implement all 3? If they differ by a lot, then the priority is the case of Simple Hashing. From my understanding, these mostly differ by what inputs are given at the beginning and how they are fed into the hash function.

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

kovacs-levent commented 3 years ago

I've implemented all the modes and they are tested.