~/talk

Encrypting Data in the Browser - Exploring Web Crypto APIs

Talkat JSConf Budapest 2024 · 2024-06-26..06-28· [security]
slides:none on file

Shows how to encrypt app data in-browser using the Web Crypto APIs with live demos: generate keys, export a JWK encryption key, and use AES-GCM with a 12-byte IV per message so tampering breaks decryption. Demonstrates that crypto.getRandomValues is slower but cryptographically strong, and that PBKDF2 with 100k iterations derives a user key for password protection. Builds a notes app that uploads encrypted buffers plus IV, shares the decryption key in the URL fragment, and the demo proves end-to-end encryption and integrity checks work.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 3:39Web Crypto API overview
  3. 10:02Crypto.getRandomValues deep dive
  4. 13:36Encryption algorithms in Web Crypto
  5. 21:24Building an encrypted note-taking app
  6. 28:25Password protection with PBKDF2
  7. 31:43Demo and project showcase
  8. 32:48Q&A and closing remarks
~/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.