← Knowledge Base

Encryption & Security

Encoding vs encryption, hashing and password storage, symmetric and asymmetric crypto, HTTPS and JWT in practice.

Articles in this topic

How to Verify File Integrity with SHA-256

Three steps to verify the SHA-256 checksum of a downloaded file, plus the most common comparison mistakes.

6 min readHashingPitfalls
Strong Passwords: Why Length Beats Complexity

Adding symbols is not always stronger. Password strength is about entropy — and length matters most. Practical rules and myths.

6 min readPasswordsBeginner
Base64 Is Not Encryption: Encoding vs Encryption

Encoding your password with Base64 does not make it safe. The real difference between encoding, encryption and hashing.

6 min readEncodingEncryptionBeginner
What Is Really Inside a JWT (and Three Fatal Mistakes)

A JWT is not encrypted: anyone holding it can read the payload. Its three segments, signing vs encryption, and what never to put inside.

6 min readJWTEncodingPitfalls
What the TLS Handshake Actually Does: Symmetric, Asymmetric and Hashing

Three kinds of crypto work together in every HTTPS connection: asymmetric key exchange, symmetric encryption, hashing. Step by step.

7 min readTLSEncryption
RSA or ECC? Choosing Asymmetric Crypto and Avoiding Misuse

Asymmetric crypto is not for bulk data. Key-size equivalents, RSA vs ECC trade-offs, and the split between encryption and signing.

6 min readEncryption
AES in Practice: Modes, IVs and Authenticated Encryption

AES is just a block cipher: the wrong mode or a reused IV breaks it. How GCM and CBC differ, and how to use them correctly.

6 min readEncryptionPitfalls
Never Store Passwords Directly: Salting, Slow Hashing and Rainbow Tables

Why SHA-256 is not enough for password storage: what salting fixes, what slow hashing fixes, and how to size bcrypt/Argon2.

6 min readPasswordsHashing
Data Privacy Basics Every Developer Should Know

Collect minimally, don't store secrets in plaintext, support erasure. Compliance is not just legal's job; it starts at data modeling.

6 min readPrivacySecurityBeginner
SQL Injection Still Ranks #1: Parameterized Queries Are the Fix

String-built SQL is the most common breach entry. How injection works, why parameterized queries win, and the limits of ORMs and escaping.

6 min readSecurityDatabasesPitfalls
Why You Never Hash Passwords Plain: Salting and Slow Hashes

MD5 / SHA are wrong for password storage. Salting and slow hashes like bcrypt / Argon2, plus what to do on a leak.

6 min readPasswordsHashingSecurity
What 2FA Actually Defends Against: TOTP Explained

Why a 6-digit code helps, and what it does not. TOTP internals, three tiers of 2FA strength, and how to use them well.

6 min readPasswordsSecurityBeginner
Certificate Chains and Trust Anchors: Why the Browser Trusts You

One server certificate is not enough: the browser must follow the chain to a root it trusts. Chains, intermediate certs, trust anchors and common mistakes.

6 min readTLSSecurityBeginner
OAuth2 Authorization Code: What Third-Party Login Does

Why "log in with WeChat" never gives your password to the app. The authorization-code flow, access vs refresh tokens, and what PKCE adds.

6 min readSecurityBeginner
Cookies vs Sessions: Difference and How They Work Together

Cookies live in the browser, sessions on the server. How login state relies on both, why JWT is mistaken for a session, and the security flags.

7 min readSecurityHTTPBeginner

Related tools

Other topics