~/talk

Keeping secrets with JavaScript

Talkat JSConf EU 2014 · 2014-09-13..09-14· [security, web-platform]
speakerdeck:ttaubert
slides:none on file

Demonstrates the Web Cryptography API by building an encrypted notes app using localforage for storage and SubtleCrypto promises, hashing notes with SHA-256 (32 bytes) for integrity, adding HMAC for authenticity, deriving keys from passwords with PBKDF2 (salt stored) and using AES-GCM with a 16‑byte nonce for confidentiality; Chrome lacks full PBKDF2 support, Firefox implements it behind a pref, code stores salt and nonce, rejects tampered data, and the example runs end to end.

AI-written summary · about

  1. 0:00Intro
  2. 7:42Message authentication codes
  3. 10:31Key derivation
  4. 11:35Passwordbased key derivation
  5. 19:18Recap
  6. 22:04Outro
~/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.