Mastering Cryptography Fundamentals with Node's crypto module
summary
Node.js's built-in crypto module is shown end to end: getCiphers lists 171 algorithms and the demo uses AES-256-CBC with random IV and buffer-based encrypt/update/final for correct streams. Passwords become keys via scrypt KDF with salt (also mentions pbkdf2, hkdf). Randomness uses randomBytes/randomFill/randomInt/randomUUID. Key exchange covers createDiffieHellman (20s) and ECDH, and asymmetric crypto shows generateKeyPair + publicEncrypt/privateDecrypt, plus crypto.sign/verify and x509 certificate chain validation.
AI-written summary · about
chapters (14)
- 0:00🚀 Introduction: The Basics of Cryptography and Its Importance
- 3:00What is Cryptography?
- 6:00Introduction to the Node.js crypto module
- 8:00Understanding Symmetric Encryption and AES 256
- 11:30Implementing AES Encryption and Decryption in Node.js
- 14:30Introduction to Key Derivation Functions (KDFs)
- 18:00Practical Example of KDFs Using Node.js
- 20:30Generating Random Values in Cryptography
- 23:00Understanding Asymmetric Encryption and RSA
- 26:30How RSA Encryption Solves the Key Distribution Problem
- 30:00Signing and Verifying Messages
- 32:12Using Digital Certificates and Certificate Authorities
- 34:00Real-World Applications of Cryptography (e.g., Vaccination QR Codes)
- 35:10Conclusion: How Cryptography Helps Secure the Modern Web
related talks
29mMastering Cryptography with Node's crypto module
30mMastering Cryptography Fundamentals with Node’s crypto module
58mState of crypto in Node.js
25mCryptography Isn't Scary
26mRequire Cyrpto is a Human Right
42mEverything I always wanted to know about crypto
23mJS Bringing Crypto to the Masses
52mCryptography 101 for Java developers
