~/talk

Encrypting Data in the Browser - Exploring Web Crypto APIs

Talkat React India 2024 · 2024-10-15..10-19· [security, web-platform]
slides:none on file

Live demo shows browser-side end-to-end encryption using Web Crypto API (crypto.subtle) with AES-GCM (128-bit key) and a per-encryption 12‑byte IV stored with the payload, and keys exported as JWK in the URL fragment so shared links decrypt client-side. Key derivation uses PBKDF2 with 100k iterations (SHA-256) to make passwords into AES keys. Benchmarks show crypto.getRandomValues is slower but cryptographically strong (e.g., 1k samples ~3.2ms vs Math.random ~0.3ms). The notes demo works as shown.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46About React India
  3. 2:48What is encryption
  4. 5:39Web Crypto API overview
  5. 6:20Why not Math.random
  6. 11:31Deep dive into crypto.subtle
  7. 13:14Working with typed arrays
  8. 15:20Algorithm selection criteria
  9. 16:45AES modes demo
  10. 19:52What is a cryptographic key
  11. 21:55AES-GCM deep dive
  12. 25:01Notes app creation
  13. 28:10Sharing notes
  14. 33:44Hashing and PBKDF2
  15. 36:10Third-party project demo
  16. 37:38Talk summary
~/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.