From the course: Symmetric Cryptography Essential Training
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Cryptographic hash algorithms
From the course: Symmetric Cryptography Essential Training
Cryptographic hash algorithms
- [Instructor] Cryptographic hash algorithms are important pieces of modern cryptographic systems that operate in a similar way to a block cipher, but without keys and providing a transformation quite unlike Blocker Stream ciphers. Where block ciphers are used to guarantee confidentiality, we usually use them to guarantee integrity. They also see use in applications such as cryptocurrency, user password protection, and digital signatures. These algorithms take an input of any size and produce a fixed size output. That output is the hash value, or simply the hash. For example, if I hash a 10 gigabyte file with the cryptographic hash algorithm SHA-1, it'll produce a 160 bit output. If I later hash a 100 byte file with SHA-1, it will also produce a 160 bit hash value. Regardless of the input size, SHA-1 always produces the same length hash. I can use hash values to ensure that files haven't changed since any change of the file will result in a completely different hash value. Using…