~/talk

Mastering Cryptography with Node's crypto module

Talkat Heapcon 2024 · 2024-11-07..11-08· [nodejs, cryptography]

Practical walkthrough of Node.js' built-in crypto shows exact APIs and gotchas: listing 171 algorithms available, using AES-256-CBC with random IV and Buffer-based update/final, deriving keys with scrypt/pbkdf2+salt, generating secure randomness via randomBytes/randomInt, and exporting keypairs with generateKeyPair and RSA publicEncrypt/privateDecrypt. Diffie-Hellman key exchange runs but key generation can be slow (createDiffieHellman takes ~20s). All example code is published as runnable unit tests.

AI-written summary · about

  1. 0:00Introduction to cryptography
  2. 3:16Encryption fundamentals
  3. 8:54Symmetric encryption with AES
  4. 13:07Key derivation functions
  5. 14:30Key distribution problem
  6. 17:19Asymmetric encryption with RSA
  7. 20:31Message signing and verification
  8. 22:18Real-world cryptography use case
  9. 24:04Public key certificates
  10. 27:36Summary and resources
~/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.