On Tue, 27 Nov 2007 10:46:02 +0100 Aniruddha <[EMAIL PROTECTED]> wrote:
> Dan Farrell wrote: > > md5sum - compute and check MD5 message digest > > [EMAIL PROTECTED] ~ $ dd if=/dev/urandom of=/tmp/md5src count=512 > > 512+0 records in > > 512+0 records out > > 262144 bytes (262 kB) copied, 0.041335 s, 6.3 MB/s > > [EMAIL PROTECTED] ~ $ md5sum /tmp/md5src > > 966019983a079e2bf03566d1f0eca061 /tmp/md5src > > > > if you want to verify your own download, you could download the file > > here: > > http://spore.ath.cx/~dan/md5src > > and check to see if you get the same checksum. > > > > Thank you for your answer. I am afraid you go a little to fast for me. > What does "$ dd if=/dev/urandom of=/tmp/md5src count=512" exactly do? > > Regards, > > Aniruddha > I assume these others cleared it up? The basic idea is that the 'md5sum' program will compute the sum, and so you can use that to verify the authenticity of the binary downloads. The rest of email was, as they said, an example of doing so on a small randomly-generated file. > What does "$ dd if=/dev/urandom of=/tmp/md5src count=512" exactly do? It reads 512 blocks from the input file (if=/dev/urandom) and writes it to the output file (of=/tmp/md5src). -- [EMAIL PROTECTED] mailing list