~/talk

Mastering Cryptography Fundamentals with Node's crypto module

Talkat Build Stuff 2024 · 2024-11-13..11-15· [security, nodejs]
slides:none on file

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

  1. 0:00🚀 Introduction: The Basics of Cryptography and Its Importance
  2. 3:00What is Cryptography?
  3. 6:00Introduction to the Node.js crypto module
  4. 8:00Understanding Symmetric Encryption and AES 256
  5. 11:30Implementing AES Encryption and Decryption in Node.js
  6. 14:30Introduction to Key Derivation Functions (KDFs)
  7. 18:00Practical Example of KDFs Using Node.js
  8. 20:30Generating Random Values in Cryptography
  9. 23:00Understanding Asymmetric Encryption and RSA
  10. 26:30How RSA Encryption Solves the Key Distribution Problem
  11. 30:00Signing and Verifying Messages
  12. 32:12Using Digital Certificates and Certificate Authorities
  13. 34:00Real-World Applications of Cryptography (e.g., Vaccination QR Codes)
  14. 35:10Conclusion: How Cryptography Helps Secure the Modern Web
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.