cryptography
15 articles tagged cryptography.
-
HKDF Extract-and-Expand Key Derivation
How HKDF turns shared secret material into separated, context-specific keys through HMAC-based extraction and expansion.
-
Merkle Proofs and Root Hash Verification
Learn how sibling hashes let a verifier prove one item belongs to a committed dataset without receiving every other item.
-
Authenticated Encryption with Associated Data
How AEAD encrypts messages, authenticates ciphertext and metadata, and why every nonce must be unique for a given key.
-
WebAuthn Authentication Ceremonies
How browsers bind WebAuthn challenges to site origins and how signed assertions stop phishing and replay.
-
X.509 Certificate Path Validation
How TLS builds a certificate chain, verifies signatures and constraints, and matches the certificate to the requested hostname.
-
Authenticated Encryption with Associated Data
How AEAD encrypts message contents, authenticates readable headers, and why reusing a nonce can destroy both confidentiality and integrity.
-
HKDF Extract and Expand
How HKDF turns one secret into separate, context-specific keys using HMAC’s extract and expand stages.
-
Ethereum’s Merkle Patricia Trie
How Ethereum encodes account and storage state as hashed nibble paths that support compact proofs, verification, and efficient updates.
-
TLS 1.3 Handshake and Shared Traffic Keys
How TLS 1.3 combines ephemeral Diffie–Hellman, transcript hashes, and Finished messages to create keys and detect tampering or downgrade attempts.
-
AES-GCM Nonces, Counters, and Authentication Tags
How AES-GCM encrypts with a nonce-derived counter stream, authenticates data with a tag, and fails catastrophically when nonces repeat.
-
Ethereum Merkle Patricia Tries Explained
How Ethereum’s keyed, hashed tries commit to account and contract storage state—and let a verifier check values using only a root and proof nodes.
-
Argon2 Memory-Hard Password Hashing
How Argon2 uses configurable time, memory, and parallelism costs to make offline password guessing expensive.
-
AWS Signature Version 4 Request Authentication
How AWS SigV4 canonicalizes requests, derives scoped HMAC keys, checks timestamps, and proves a request was not altered.
-
AEAD Nonces and the Cost of Reuse
How AEAD nonces protect encryption, why each must be unique per key, and how reuse can expose plaintext and enable forgeries.
-
AEAD Nonce Reuse and Its Security Consequences
Why reusing an AEAD nonce exposes plaintext relationships and can enable forgeries—and why protocols must prevent it.