Chisato · · 5 min read Password Salt vs Pepper: What Each One Protects Against
A salt is a unique, public value per password; a pepper is one secret kept outside the database. How they differ, how to combine them, and common mistakes.
Topic
21 posts tagged “Cryptography”.
Chisato · · 5 min read A salt is a unique, public value per password; a pepper is one secret kept outside the database. How they differ, how to combine them, and common mistakes.
Chisato · · 5 min read Secure Boot blocks unsigned boot code; Measured Boot records a hash of everything that ran. How each works, how they differ, and why you want both.
Chisato · · 5 min read A key derivation function turns secret input into cryptographic keys. When to use HKDF for high-entropy secrets, and PBKDF2, scrypt, or Argon2 for passwords.
Chisato · · 5 min read Code signing attaches a digital signature to software so users can verify who published it and that it hasn't been altered. How it works and its limits.
Chisato · · 5 min read Shamir's secret sharing splits a secret into n shares so any k can rebuild it and fewer reveal nothing. How the math works and where it's used.
Chisato · · 5 min read A JWKS is a JSON document of public keys that lets any service verify JWT signatures. How JSON Web Key Sets work, the kid header, caching, and key rotation.
Chisato · · 5 min read Envelope encryption encrypts data with a data key, then encrypts that key with a master key held in a KMS. How it works, why clouds use it, and key rotation.
Chisato · · 4 min read A side-channel attack recovers secrets from a system's physical behavior — timing, power draw, cache access — rather than breaking its algorithm directly.
Chisato · · 5 min read A padding oracle attack exploits error messages during decryption to recover plaintext byte by byte, without ever breaking the cipher itself.
Chisato · · 5 min read TOTP generates a new six-digit code every 30 seconds from a shared secret and the current time. How authenticator apps use it, and where it falls short.
Chisato · · 4 min read A hardware security module is a dedicated device that generates, stores, and uses cryptographic keys so private keys never leave secure hardware.
Chisato · · 4 min read A rainbow table is a precomputed lookup of hash chains that speeds up cracking unsalted password hashes. How it works and why salting defeats it.
Chisato · · 5 min read Symmetric encryption uses one shared key; asymmetric uses a public/private key pair. How each works, why most real systems use both, and when to pick one.
Chisato · · 4 min read PKI is the system of keys, certificates, and certificate authorities that lets strangers trust each other's public keys online. How it actually works.
Chisato · · 4 min read Homomorphic encryption lets you compute on encrypted data without ever decrypting it, so a third party can process data it can never actually read.
Chisato · · 4 min read OCSP and CRL are the two mechanisms browsers use to check if a TLS certificate has been revoked before its expiry date. Here's how each works.
Chisato · · 4 min read A zero-knowledge proof lets one party prove a statement is true without revealing why — the basis of privacy-preserving verification systems.
Chisato · · 4 min read A timing attack infers secret data by measuring how long an operation takes to run. How timing side channels leak information and how to close them.
The Lycoris Team · · 5 min read A digital signature uses a private key to prove a message's origin and integrity, and a public key lets anyone verify it — no shared secret required.
Chisato · · 4 min read HMAC combines a secret key with a hash function to prove a message wasn't altered and came from someone who holds the key. Here's how it works.
Chisato · · 4 min read Quantum computers threaten RSA and ECC. The NIST post-quantum standards are finalized — here's what they replace, what's already deployed, and how to prepare.