MD5 output format problem
Posted: 22 Aug 2008, 14:57
I'm using Altap Salamander v2.51 (registered).
The output format of the Plugins->Checksum->Calculate CRC/MD5 Checksums... cannot be verified by a Linux md5sum tool. The problem appears to be a difference in the formatting of the .md5 files.
Altap Salamander output contains lines that look like this:
f0d74f9d1685da0e5f15af64569ed57b test.bin
Note that there is only a single space between the hash and the filename.
The GNU version of md5sum outputs lines that look like this in text read mode:
f0d74f9d1685da0e5f15af64569ed57b test.bin
and like this in binary read mode:
f0d74f9d1685da0e5f15af64569ed57b *test.bin
In the GNU version, the format is:
<128bit checksum><space><binary-flag><filename>
where <binary-flag> is either <space> (text mode default) or * (binary mode -b option).
The MD5 hashes themselves match correctly between the two tools.
The output format of the Plugins->Checksum->Calculate CRC/MD5 Checksums... cannot be verified by a Linux md5sum tool. The problem appears to be a difference in the formatting of the .md5 files.
Altap Salamander output contains lines that look like this:
f0d74f9d1685da0e5f15af64569ed57b test.bin
Note that there is only a single space between the hash and the filename.
The GNU version of md5sum outputs lines that look like this in text read mode:
f0d74f9d1685da0e5f15af64569ed57b test.bin
and like this in binary read mode:
f0d74f9d1685da0e5f15af64569ed57b *test.bin
In the GNU version, the format is:
<128bit checksum><space><binary-flag><filename>
where <binary-flag> is either <space> (text mode default) or * (binary mode -b option).
The MD5 hashes themselves match correctly between the two tools.