Verifying Files: Difference between revisions
From charlesreid1
No edit summary |
(→Flags) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
</pre> | </pre> | ||
Example: | |||
<pre> | |||
$ openssl dgst -sha256 kali-linux-2017.3-amd64.iso | |||
SHA256(kali-linux-2017.3-amd64.iso)= 395bc0af107806e5bf06edc6ac4af1f96caaf04f465831abf2f33ce51b73968d | |||
</pre> | |||
==Flags== | ==Flags== | ||
[[Category:Verification]] | [[Category:Verification]] | ||
[[Category: | [[Category:Crypto]] | ||
Latest revision as of 09:14, 14 January 2018
Notes on verifying downloaded files.
MD5 sum
Be warned, md5 signatures are relatively easy to spoof.
openssl dgst -md5 filename
SHA256 sum
openssl dgst -sha256 filename
Example:
$ openssl dgst -sha256 kali-linux-2017.3-amd64.iso SHA256(kali-linux-2017.3-amd64.iso)= 395bc0af107806e5bf06edc6ac4af1f96caaf04f465831abf2f33ce51b73968d