Skip to content
26 articles

Crypto

26 technical articles and tutorials in the Crypto category

Crypto2026-10-04

Post-Quantum Migration Self-Check: From Algorithm Inventory to Hybrid TLS — 12 Things to Do in 2026

A practical self-check framework for PQC migration: why three overlapping regulatory timelines make 2026 the starting line, how to build a cryptographic bill of materials (CBOM), ranking by HNDL exposure, enabling X25519+ML-KEM hybrid TLS, and what crypto-agility means in practice. With a 12-item checklist.

Read more
Crypto2026-10-04

Passkeys, Explained: Why the Server Can No Longer Hold a Copy of Your Password

Passkeys (WebAuthn/FIDO2) deepened: registration vs assertion ceremonies, platform authenticators and roaming keys, synced passkeys, how they relate to passwords/TOTP/JWT, and why origin binding makes phishing resistance structural. Servers store public keys only; note that this site has no dedicated Passkey tool page.

Read more
Crypto2026-10-04

ML-KEM, Explained: How Kyber Got Into Your TLS Handshake

An engineering tour of ML-KEM (FIPS 203, formerly Kyber): Kyber-to-standard naming, encapsulate/decapsulate and IND-CCA, the three parameter sizes, how X25519+ML-KEM feeds the TLS 1.3 HKDF schedule, the ClientHello-bloat middlebox trap, OpenSSL 3.5 / nginx enablement, and browser-side implementation boundaries.

Read more
Crypto2026-10-04

Miping × Post-Quantum: A Dual-Stack Assessment Framework for Chinese Compliance Systems

SM2's elliptic-curve foundation sits on Shor's list right next to RSA — Chinese cryptographic compliance carries no quantum exemption. This post lays out a dual-stack evaluation framework on top of miping (GB/T 39786): an algorithmic quantum-exposure inventory, parallel TLCP + hybrid TLS deployment, dual protection for long-lived data, and where the domestic standards process currently stands. A forward-looking guide for compliance teams and critical-infrastructure operators.

Read more
Crypto2026-10-04

HKDF: How TLS 1.3 Grows One Shared Secret Into a Whole Key Tree

A TLS handshake yields one shared secret (or two concatenated in a hybrid group), but a session needs dozens of keys: bidirectional write keys, IVs, per-stage Finished keys, exporters, resumption PSKs. HKDF (RFC 5869) does that job in Extract + Expand. This post covers structure, salt/info domain separation, boundaries with HMAC and PBKDF2, and common misuses.

Read more
Crypto2026-10-04

Harvest Now, Decrypt Later: Whose Data Needs Post-Quantum Crypto First

The HNDL attack model, taken apart: why Shor's algorithm kills RSA/ECC while AES-256 stays standing, how data lifetime sets migration priority, which systems can relax, and how Chinese cryptographic compliance (SM/TLCP) and PQC stack rather than compete.

Read more
Crypto2026-10-04

Why Ed25519 Won: Deterministic Signatures and ECDSA's k-Leak Incident History

ECDSA tripped over the same trap three times in fifteen years (Sony PS3's fixed k, Android Bitcoin wallets' weak randomness, the RFC 6979 patch). Ed25519 eliminates that entire class of failure by design. This post breaks down EdDSA's engineering advantages: no randomness dependence, a fixed curve, hard-to-misuse implementations, tiny keys and signatures — and the fact that it won on engineering properties, not mathematical strength.

Read more
Crypto2026-10-03

Chinese Cryptographic Assessment (Miping) Self-Check Checklist: GB/T 39786, Layer by Layer

A pre-assessment framework for commercial cryptography application security evaluation: the four technical layers (physical, network, device, application) plus management, the quantitative red lines (algorithm/product/key compliance), the most common findings, and a remediation order ranked by points-per-effort.

Read more
Crypto2026-10-02

Guomi HTTPS Deployment Guide: TLCP Protocol, SM2 Dual Certificates, and nginx with Tongsuo

Guomi HTTPS under assessment / MLPS pressure: TLCP (GB/T 38636) vs RFC 8998, how signing and encryption certificates differ, building nginx with Tongsuo, dual-stack coexistence, handshake troubleshooting order, and what browser SM tools can and cannot prove.

Read more
Crypto2026-09-26

GB/T 32907, GM/T 0004, RFC 8998: Decoding the Standard Numbers Behind SM2/SM3/SM4

A decoder ring for Chinese national crypto standard numbers: GM/T vs GB/T vintages, ISO/IEC adoption, RFC 8998 ShangMi suites versus the TLCP (GB/T 38636) track, and which number each project document should cite.

Read more
Crypto2026-09-22

SM2/SM3/SM4 in Practice: Choosing, Integrating, and Debugging Chinese National Cryptography

A field guide to Chinese national crypto: SM4 vs SM3 vs SM2, plus the integration traps that dominate real work — C1C3C2 vs C1C2C3, hex vs Base64, CBC IVs — with browser-local tools for known-answer checks.

Read more
Crypto2026-09-13

SHA-256 Hash Algorithm: How It Works, Applications, and Online Tools

Understand SHA-256 internals, comparison with MD5/SHA-1, and real-world applications in password storage, blockchain, file integrity, and HMAC signing.

Read more
Crypto2026-09-13

Complete Guide to MD5 Hash: How It Works, Uses, and Security

Deep dive into the MD5 algorithm, its common uses, and security vulnerabilities. Learn the differences between MD5, SHA-1, and SHA-256, and when MD5 is still okay to use.

Read more
Crypto2026-09-13

What is a Hash Collision? MD5 and SHA-256 Security Deep Dive

Hash collisions explained: birthday attacks and the birthday bound, identical-prefix vs chosen-prefix, MD5/SHA-1 status in 2026, and how HMAC changes the threat model.

Read more
Crypto2026-08-28

SHA256 vs MD5: What Is the Difference and Which to Use?

SHA256 vs MD5 difference, why MD5 is no longer safe, and which hash to use for file verification? Compares length, security, and use cases, with our SHA256/MD5 tools.

Read more
Crypto2026-08-28

MD5 Decrypt? Why You Can't — and What to Do Instead

Searching "MD5 decrypt"? MD5 is a one-way hash and cannot be decrypted — but you can verify a file's integrity or check a known hash. Learn why, what a collision really means, and which tool to use instead (MD5 / SHA-256 / HMAC).

Read more
Crypto2026-08-28

How to Verify File or Text Hashes Match (SHA-256 Comparison for Integrity)

Downloaded a file—how do you know it wasn't tampered with? Learn how hash verification works and step-by-step how to compare SHA-256/MD5 locally to confirm integrity.

Read more
Crypto2026-07-13

Online HMAC Generator: Message Authentication Code Explained

Learn how HMAC (Hash-based Message Authentication Code) works. Understand HMAC-SHA256 workflows, real-world use cases, and how to generate and verify HMAC signatures online.

Read more
Crypto2026-07-03

Online Bcrypt Hash Tool: Cost Factors, Salt, and Password Verify

How bcrypt password hashing works: cost factors, built-in salt, the 72-byte limit, and how to generate or verify hashes in the browser. Cross-links password generator and hash verifier.

Read more
Crypto2026-07-02

JWT vs Session Cookies: Authentication Comparison and Selection Guide

Sessions are server-side state, JWT is a stateless token. Compare them on microservices fit, SPA compatibility, revocation, and security. Includes common JWT pitfalls and a decision framework.

Read more
Crypto2026-06-30

AES Encryption in the Browser: A Practical Guide to Web Crypto API

Learn AES encryption in JavaScript using the Web Crypto API. Complete AES-256-GCM encrypt/decrypt example with PBKDF2 key derivation, all running client-side.

Read more
Crypto2026-06-23

Online RSA Encryption/Decryption: Asymmetric Crypto and Digital Signatures

Learn RSA asymmetric encryption algorithm principles and applications. Understand public/private key encryption, digital signatures, key pair generation, and use in HTTPS and API authentication.

Read more
Crypto2026-06-21

SHA-256 vs MD5: When to Use Which Hash Algorithm (2026)

SHA-256 vs MD5 compared: security, speed, and use cases. Learn when MD5 is still acceptable and where you must use SHA-256. Practical decision guide.

Read more
Crypto2026-06-18

Hashing vs Encryption: What's the Difference and When to Use Each

Hashing and encryption are not the same. Hashes are one-way and irreversible; encryption is reversible with a key. Clear guide to choosing the right one for passwords, integrity, and confidentiality.

Read more
Crypto2026-06-16

Online AES Encryption Tool: Symmetric Encryption Guide

Learn AES symmetric encryption fundamentals. Understand AES-GCM mode, PBKDF2 key derivation, iteration count selection, and how to encrypt and decrypt data using online tools.

Read more
Crypto2026-05-05

Is It Safe to Paste Your JWT into an Online Decoder? On Token Leakage Risk

Is it safe to paste a JWT token into an online decoder? This article analyzes the security risks of online JWT decoding, token leakage risk, and how to safely decode a JWT without exposing private data.

Read more