News for hackers. Stuff that matters.
Re:Bao: A verified streaming tool based on BLAKE3 by 0xcoffee on Wednesday January 15, 2020 @03:08PM (#22057939)
Can somebody explain the Outboard Mode? I don't really understand the example. It decodes the input file using an outboard file, but the result is what? You already have the input file?
Re:Bao: A verified streaming tool based on BLAKE3 by oconnor663 on Thursday January 16, 2020 @12:40PM (#22066838)
The Bao encoding supports two modes, combined and outboard. In the combined mode, the bytes of the tree are interleaved with the original file, producing an encoded file that's about 6% larger. In the outboard mode, the bytes of the tree are stored separately in their own file.

Which mode to use depends on whether you need to keep the original, unencoded file around on the server. If the only thing the server needs to do is serve encoded bytes, the combined mode is more convenient. But if the server also wants to serve the original file (to clients who trust the server and don't need to verify any hashes), the outboard mode can avoid taking up double the storage space.

The idea in the outboard example is that the decoder is running somewhere else, not on the server, and it's streaming both the original file and the outboard encoding simultaneously.

Re:Bao: A verified streaming tool based on BLAKE3 by rakoo on Wednesday January 15, 2020 @04:10PM (#22058622)
I believe it's more like a verification -- the output should be an error code that is 0 if all is fine and 1 if there's an error.