I am writing a java client for par2.
javapar2.sourceforge.net
I came across this specific inclarity in the specification:
In the file description packet, for the md5 hash of the first 16k, it is not specified how to handle files shorter than 16k.
Should you pad the file with zeroes, or should you just use the entire file to generate this hash?
Regards
Log in to post a comment.
I am writing a java client for par2.
javapar2.sourceforge.net
I came across this specific inclarity in the specification:
In the file description packet, for the md5 hash of the first 16k, it is not specified how to handle files shorter than 16k.
Should you pad the file with zeroes, or should you just use the entire file to generate this hash?
Regards