Key Concepts & Self-Assessment20 Key Facts
Review key Cryptographic Hashing & SHA-256 exam facts and rate your mastery to track revision.
Progress: 0/20 Rated 0 Mastered 0 Review Later
#1
A cryptographic hash function is a one-way mathematical function that converts variable-length input data into a fixed-length string called a message digest.
#2
Unlike encryption algorithms that allow authorized decryption using a secret key, cryptographic hashing is mathematically irreversible.
#3
Determinism ensures that a specific cryptographic hash function always generates the exact same hash output for any identical input data.
#4
Pre-image resistance means that given a target hash value h, it is computationally impossible to determine the original input message m.
#5
Second pre-image resistance, or weak collision resistance, ensures that given an input m1, finding another input m2 that yields the same hash is infeasible.
#6
Strong collision resistance ensures that it is computationally infeasible to find any two arbitrary, distinct messages that produce the identical hash value.
#7
The avalanche effect dictates that altering a single character or binary bit in the input radically alters roughly fifty percent of the resulting hash bits.
#8
MD5 is a 128-bit hashing algorithm developed by Ronald Rivest in 1991 that is now deprecated because practical collision attacks broke its security.
#9
SHA-1 generates a 160-bit digest and was deprecated after Google and CWI Amsterdam produced the first practical collision, named SHAttered, in 2017.
#10
The SHA-2 algorithm family, published by NIST under FIPS 180-4 (Secure Hash Standard), includes SHA-224, SHA-256, SHA-384, and SHA-512.
#11
SHA-256 produces a 256-bit (32-byte) digest, usually represented as a 64-character hexadecimal string.
#12
SHA-3 was standardized by NIST in 2015 based on the Keccak sponge construction, providing cryptographic diversity from the Merkle-Damgard architecture of SHA-2.
#13
In Bitcoin and many blockchain networks, SHA-256 links consecutive transaction blocks together by embedding the hash of the preceding block header.
#14
Digital software distribution platforms publish SHA-256 checksums so downloaders can verify that installation files have not been modified or corrupted.
#15
Digital signatures combine public-key cryptography with hashing by encrypting the document's hash digest with the signer's private key.
#16
Password salting appends a unique, random string of characters to a user's plaintext password before hashing to defeat precomputed rainbow table attacks.
#17
Key stretching algorithms like bcrypt, scrypt, and Argon2 deliberately slow down hashing speeds to hinder automated offline brute-force cracking attempts.
#18
HMAC, or Hash-based Message Authentication Code, incorporates a secret cryptographic key with a hash function to verify both data integrity and message authenticity.
#19
The birthday paradox dictates that finding a collision among n-bit hash values requires roughly two raised to the power of n divided by two operations.
#20
In digital forensic science and law, cryptographic hash values provide mathematical proof of custody that digital evidence has remained unaltered.
Subject Specialist Commentary
Analytical perspective & practical exam advice from the Master10 academic board
Think of cryptographic hashing as a digital fingerprinting machine. You drop any digital file into the algorithm, and it produces a unique, fixed-length code. Because the process is one-way, you can never reconstruct the original file from the fingerprint alone. If someone changes even a single comma in a massive document, the resulting fingerprint alters completely, exposing the alteration instantly.
In UPSC Prelims and cybersecurity exams, examiners often test the difference between encryption and hashing: encryption is reversible via keys, whereas hashing is irreversible. Watch out for collision questions; remember that MD5 and SHA-1 are compromised, leaving SHA-256 and SHA-3 as modern standards. Use the mnemonic "D-O-C-A" to remember the four core properties: Deterministic, One-way, Collision-resistant, and Avalanche-sensitive. In digital safety questions, remember that salting defends passwords against precomputed rainbow table attacks.
Related Knowledge Topics to Discover
Looking for more GK practice?
Explore 52,789+ questions across 65 General Knowledge categories.