You are not logged in.

#1 2024-10-06 13:28:54

Oddwierdo
Member
Registered: 2023-07-29
Posts: 34

how to get blake2sp sum?

Sorry i feel totally stupid and googled now for like 2 hours just to find out how to actually calculate a blake2sp sum. I even asked chat-gpt which would tell me flags for the the b2sum utility that don't even exist. Usually i used tools like double commander for stuff like that. But this time i wanted to use the terminal since i'm using ssh and i don't seem to find any solution. Can someone help me out?

Offline

#2 2024-10-06 13:44:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: how to get blake2sp sum?

I don't believe b2sup implements the 'sp' algorithm, but there is the libb2 library if you wanted to make your own cli tool.

There also is code in coreutils' implementation of b2sum for blake2sp which can be activated with the "-a" algorithm flag, but all this code is fenced off in by "#if 0" preprocessor directives so it's not included in the final executable.  In theory, it should be easy to remove these blocks and recompile it - but I imagine it was cut out for a reason, and adding it back without knowing that reason would likely be a very bad idea (I'd not trust the results).

Last edited by Trilby (2024-10-06 13:56:43)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB