You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My coding skills are not up to this level, so would appreciate some pointers of how to achieve this.
I would like to have the option of padding smaller blocks / files to the piecewise block size.
e.g. if I want to calculate the hash of all files with a piecewise block size of 4K, I’d like a 7K file to be padded to 8K so that the last block is calculated based on 4K block size, padded with NULLs (zero). A 1 byte file would also be padded with NULLs to 4K block size for calculating hash.
The text was updated successfully, but these errors were encountered:
My coding skills are not up to this level, so would appreciate some pointers of how to achieve this.
I would like to have the option of padding smaller blocks / files to the piecewise block size.
e.g. if I want to calculate the hash of all files with a piecewise block size of 4K, I’d like a 7K file to be padded to 8K so that the last block is calculated based on 4K block size, padded with NULLs (zero). A 1 byte file would also be padded with NULLs to 4K block size for calculating hash.
The text was updated successfully, but these errors were encountered: