Skip to content
pwnsy
← pwnsy/blog

cryptography

20 articles

Cybersecurity guides, tutorials, and insights about cryptography from Pwnsy.

beginner/16 min readJul 24, 2026

Block vs Stream Ciphers: Differences, Modes & Use Cases

How block and stream ciphers differ, what modes of operation do, and where each fits. A plain guide to the two families of symmetric encryption.

beginner/17 min readJul 24, 2026

End-to-End Encryption Explained

What end-to-end encryption means in plain terms, what it protects, why metadata still leaks, and how apps like Signal and WhatsApp use it.

intermediate/17 min readJul 24, 2026

Homomorphic Encryption Explained

How homomorphic encryption lets you compute on encrypted data without decrypting it, the levels of the technology, and where it is practical today.

intermediate/16 min readJul 24, 2026

How AES Works: The Block Cipher Behind Modern Encryption

A plain guide to AES: rounds, the substitution-permutation network, key sizes, and why GCM beats CBC for real-world encryption.

intermediate/16 min readJul 24, 2026

How Diffie-Hellman Works: Key Exchange Over an Open Channel

Diffie-Hellman lets two parties agree a shared secret over a channel anyone can read. How the math works, ephemeral DH, and forward secrecy.

beginner/16 min readJul 24, 2026

How Digital Signatures Work: Signing & Verifying

Digital signatures prove who sent a message and that it is unchanged. How hash-then-sign works, why signing differs from encryption, and verifying.

intermediate/18 min readJul 24, 2026

How Elliptic Curve Cryptography Works

A plain guide to ECC: why a 256-bit curve matches 3072-bit RSA, the discrete log trapdoor, and how ECDH and ECDSA are used.

beginner/18 min readJul 24, 2026

How Hashing Works: Cryptographic Hash Functions Explained

A plain guide to cryptographic hash functions: one-way and collision resistance, SHA-2 and SHA-3, and why hashing is not encryption.

intermediate/17 min readJul 24, 2026

How RSA Works: Public Keys, Trapdoors, and Factoring

A plain guide to RSA: how a public/private keypair works, the factoring trapdoor, key sizes, and why it is used for key exchange and signatures.

intermediate/17 min readJul 24, 2026

How the TLS 1.3 Handshake Works

A plain walkthrough of the TLS 1.3 handshake: key exchange, certificates, and how a browser and server agree on session keys in one round trip.

intermediate/17 min readJul 24, 2026

Key Derivation Functions Explained

What key derivation functions do, how PBKDF2, HKDF, and Argon2 differ, and when to stretch a password versus derive keys from a strong secret.

intermediate/16 min readJul 24, 2026

Password Hashing Explained: bcrypt, scrypt and Argon2

Why password hashing has to be slow, how work factors and memory-hardness stop cracking, and how to choose Argon2id for new systems.

intermediate/16 min readJul 24, 2026

Perfect Forward Secrecy Explained

Why ephemeral keys keep past encrypted traffic safe even if a long-term private key later leaks, and how forward secrecy works in TLS.

intermediate/16 min readJul 24, 2026

Post-Quantum Cryptography Explained

How quantum computers threaten RSA and ECC, what the NIST post-quantum standards replace them with, and why harvest-now-decrypt-later matters today.

beginner/17 min readJul 24, 2026

Salting and Peppering Explained: Safer Password Storage

How salts and peppers protect stored passwords, why they defeat rainbow tables, and where each belongs. A plain guide to password hashing hygiene.

intermediate/16 min readJul 24, 2026

Secure Random Number Generation Explained

Why cryptography needs CSPRNGs, how they differ from ordinary random functions, what entropy is, and how weak randomness breaks otherwise strong crypto.

beginner/16 min readJul 24, 2026

Steganography Explained: Hiding Data Inside Files

How steganography hides data inside images and other files, how it differs from encryption, how defenders detect it, and how malware abuses it.

beginner/16 min readJul 24, 2026

Symmetric vs Asymmetric Encryption: The Two Families

A plain guide to the two encryption families, when each is used, and how hybrid encryption combines them to secure the modern web.

beginner/18 min readJul 24, 2026

What Is HMAC: Keyed-Hash Message Authentication Explained

HMAC proves a message is intact and from who you expect. How keyed hashing works, why a plain hash is not enough, and where HMAC fits.

intermediate/16 min readJul 24, 2026

Zero-Knowledge Proofs Explained

How to prove you know a secret without revealing it, the properties every ZK proof needs, and its uses in privacy and blockchains.