Ed25519 and X25519 field guides
Read in order from choosing a curve through formats, signing, HKDF and test vectors.
- Ed25519 and X25519: one curve, two jobsWhat each of the two Curve25519 algorithms does, and why a key made from the same seed is not interchangeable between them.
- One key, five notations: raw, hex, Base64url, JWK, PEMHow a single 32-byte key becomes hex, Base64url, JWK, PKCS#8 PEM and SPKI PEM, and which form belongs where.
- Ed25519 signing and verification, step by stepFollow the RFC 8032 signing procedure to see why the signature is deterministic and why verification fails on a single changed bit.
- X25519 shared secrets and why HKDF is not optionalHow X25519 produces a 32-byte shared secret, how to check both sides agree, and how HKDF-SHA256 derives purpose-specific keys.
- WebCrypto coverage and checking an implementation with RFC vectorsHow far browser WebCrypto supports Ed25519 and X25519, how a pure-JS fallback matches it, and how to use the official test vectors.
0 bytes of your input sent to a server (advertising and affiliate widgets excluded)