Cryptographic Hashing and Digital Signatures Questions

Cryptographic hash functions (collision resistance, preimage resistance), message authentication codes, and digital-signature schemes. Covers HMAC, signature verification, and how hashing underpins integrity, commitments, and authentication. Distinct from non-cryptographic hashing used in data structures.

MediumTechnical
44 practiced

What is signature malleability, and why does it matter for systems like blockchains, multi-signature protocols, or anything that derives a transaction identifier from the signature itself? Show concretely how an attacker could take a valid ECDSA signature (r, s) and produce a second, different-looking signature that still verifies for the exact same message.

MediumTechnical
49 practiced

Compare SHA-256, SHA-3, and BLAKE2 for a new cloud service that needs fast content hashing and occasional authenticated signing. Walk through the internal design differences that matter for your choice, how they affect performance in software and hardware, and which one you'd pick and why.

HardTechnical
53 practiced

Describe chosen-prefix collision attacks and the techniques that made them feasible against legacy hash functions (for example, MD5). Explain how such attacks enabled forging X.509 certificates in the past and why modern hash designs and policy changes mitigate these attacks. Are there any remaining practical risks for today's hashes?

EasyTechnical
55 practiced

What is a Merkle tree, and how does a Merkle proof let you verify that a single leaf belongs to a committed root without holding the whole dataset? Name two real-world systems that rely on this structure and explain what they'd lose without it.

HardTechnical
40 practiced

In ECDSA, two signatures (r, s1) and (r, s2) use the same ephemeral nonce k for different messages m1 and m2 producing message hashes z1 and z2. Derive algebraically how to recover k and the private key d from r, s1, s2, z1, z2 and curve order n. Explain each algebraic step and discuss corner cases such as s1 == s2 or r == 0.

Unlock Full Question Bank

Get access to all 35 Cryptographic Hashing and Digital Signatures interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.