Mastering Cryptography Fundamentals with Node’s crypto module
summary
Node’s built‑in crypto module sits on OpenSSL and exposes a large surface like getCiphers which returns 171 algorithms on one machine and specific APIs for AES-256-CBC with random IVs, createCipheriv/createDecipheriv, randomBytes/randomFill/randomInt/randomUUID, scrypt and hkdf and pbkdf2 for KDFs, generateKeyPair plus publicEncrypt/privateDecrypt for RSA, ECDH support, crypto.sign/verify, X509 parsing for certificate chains, and many async functions that are callback based so developers need to promisify them.
AI-written summary · about
chapters (11)
- 0:00Introduction to cryptography
- 3:13Encryption basics with Node
- 10:55Key derivation functions
- 15:50Generating secure random data
- 16:54Key distribution problem
- 20:27Asymmetric encryption with RSA
- 21:53Signing and verifying messages
- 23:19Real-world crypto applications
- 25:06Trusting public keys
- 28:41Certificate chains explained
- 29:21Summary and resources
related talks
36mMastering Cryptography Fundamentals with Node's crypto module
29mMastering Cryptography with Node's crypto module
58mState of crypto in Node.js
26mRequire Cyrpto is a Human Right
25mCryptography Isn't Scary
26mJavascript Crypto. Ugly duckling with good reason?
23mJS Bringing Crypto to the Masses
39mWeb Cryptography
