~/talk

Mastering Cryptography Fundamentals with Node’s crypto module

Talkat NodeTLV 2023 · on Wednesday, 2023-06-28· [nodejs, security]
slides:none on file

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

  1. 0:00Introduction to cryptography
  2. 3:13Encryption basics with Node
  3. 10:55Key derivation functions
  4. 15:50Generating secure random data
  5. 16:54Key distribution problem
  6. 20:27Asymmetric encryption with RSA
  7. 21:53Signing and verifying messages
  8. 23:19Real-world crypto applications
  9. 25:06Trusting public keys
  10. 28:41Certificate chains explained
  11. 29:21Summary 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.