Help with MD5 and SHA1 signatures
I know what is the md5 signature, how to get it and what it is used for, but what is the difference between sha1 and md5 sigantures, which one is the best to use? Thanks.
|
RTFM for differences. sha1 is better in practice. But there are other sha*
You can always get the md5 signature with md5sum You can compare it with a correct signature too #info md5sum #info sha1sum |
Quote:
|
Integrity Application
Quote:
|
Quote:
|
For instance, TLSv1 uses both MD5 and SHA1 (XOR'd, IIRC) to give it some future-proofing in case one of those algorithms is broken.
|
Attributes
Quote:
I have made several scripts to solve the problem I commented before. One of them is called atributes and its called like this: atributes file it gives the following output: md5 signature:sha1 signature:inode:size:file This way I can check both md5 and sha1 signatures as you suggested. I can later on add other more advanced signatures as fields to perform a better integrity validation. Thanks again :) |
All times are GMT -5. The time now is 11:43 AM. |