4 ms·
> similar to what Bao encoding is used for in BLAKE3 In my mind Sakura and Bao are doing very different things. Sakura is a general framework for defining soun
by oconnor663 10mo ago
> similar to what Bao encoding is used for in BLAKE3
In my mind Sakura and Bao are doing very different things. Sakura is a general framework for defining sound hash functions, while Bao is a BLAKE3-specific interleaving of hash function input and output that let's you do partial/streaming verification.
There was an interesting issue where it turned out that the Sakura security properties (which I studied while I was working on Bao, very helpful) weren't sufficient for what Bao wanted to do. I didn't realize that until a couple colleagues pointed it out years later. Luckily it didn't turn out to be a break in practice: https://github.com/oconnor663/bao/issues/41 https://github.com/oconnor663/bao/issues/41