checksums explained
SHA256, SHA1 and MD5 hashing algorithms..
Crucially, the steps taken to compute this signature are well-known, and can be re-calculated, relatively quickly, anywhere, and at any time in the future, producing the exact same hash. Because the hashing algorithm is well-known, and 100% pre-determined; any change in the computed hash indicates that the message itself MUST have changed. Due to what's known as the "Avalanche effect", even a minute change in the data (even a single bit) results in a completely different hash.
Hashing functions suitable for cryptographic purposes must fulfil two important criteria..
- It must be computationally infeasible to derive the original data from the hash, and..
- It must be computationally infeasible to create another file with the same hash (aka, "a hash collision")
For file verification purposes (checksum's main use), excellent speed is the main factor. These days, that means SHA256 (as it's likely built-in to your CPU), which also offers the highest level of security, so it's a win-win.
For the ultimate in security, checksum also enables you to create "Multi-Hashes", that is, one
.hash file containing multiple hashing algorithms. There is no known attack, theoretical or otherwise, against Multi-Hashing.CRC
Or more correctly, CRC32, aka. "Cyclic Redundancy Check" is an error-detecting code commonly used in old-school file archives (.crc, .sfv, etc.).MD5
MD5, (aka. 'Message-Digest Algorithm 5') the most commonly used cryptographic hash function, was invented in 1991, by Ronald Rivest at MIT (previous to this, he had developed MD4). An MD5 hash has 128-bit hash value, which is typically represented as a 32-character hexadecimal number, e.g..d24c7f0e7bc6d4cb9dacb0ff5027cc98In the mid-Nineties, MD5 was successfully "cracked". By no means does this make MD5 useless, rather, it is no longer recommended for situations where security is the prime concern, though in reality, the fact that collisions are theoretically possibly does not mean that anyone could actually make use of this to create a believable forged document.
These days, SHA256 is faster, so MD5 is no longer the prime choice for file verification.
SHA1
The SHA1 (aka. "Secure Hashing Algorithm FIPS PUB 180-1") cryptographic function was created by the NSA, and first published by NIST in 1995. SHA1 computes a message digest that is 160 bits long, and represented as a 40-character hexadecimal number, e.g..77e0c5a57709fbaa65e21cb7aa22184a99536df5SHA-1 is officially "broken" and is no longer recommended for secure archives. It's also slow in modern hardware, compared to SHA256.
checksum can create and verify all of the above formats, as well as effortlessly upgrade them to..
SHA256 a.k.a. "SHA2"
SHA-2 (Secure Hash Algorithm 2) is a set of extremely strong cryptographic hash functions designed by the United States National Security Agency (NSA), first published in 2001 by the National Institute of Standards and Technology (NIST) as a U.S. federal standard.SHA-256 has since been adopted globally, which is why it's fast; it's likely built-in to your hardware.
SHA256 computes a message digest that is 256 bits long, and represented as a 64-character hexadecimal number, e.g..
4264cb256d94533b6e152da59256638bc6adfda3efc5550d7607d4e6e45592fc