~/talk

Crypto for Everyone

Talkat Laracon EU 2018 · on Friday, 2018-08-31· [security, php]
slides:none on file

Libsodium lands in PHP 7.2 and provides concrete, secure defaults: Argon2 password hashing (Argon2i present, Argon2id slated for 7.3), constant‑time verification, and high‑level APIs like secretbox and crypto_box. Examples use 32‑byte key and 24‑byte nonce, ChaCha20‑Poly1305 or AES with AEAD, random_bytes for nonces, and password_hash/password_verify replacements. A working stateless API token is built by encrypting userID+expiry with secretbox and tacking the nonce on front; decryption and validation succeed.

AI-written summary · about

  1. 0:00Intro
  2. 2:28CRYPTOGRAPHIC FUNCTIONS
  3. 7:41WHICH EXTENSION TO USE?
  4. 9:06PHP CRYPTO LIBRARIES
  5. 10:25WHATS LIBSODIUM?
  6. 12:12SALTY PEOPLE
  7. 15:36EXAMPLE: SIDE CHANNEL VULNERABILITY
  8. 23:43HASHING WITH SODIUM
  9. 25:24MESSAGE AUTHENTICATION CODES
  10. 35:57SECRET-KEY ENCRYPTION EXAMPLES
  11. 39:02PUBLIC-KEY ENCRYPTION
  12. 41:16EXAMPLE: PUBLICKEY ENCRYPTION
  13. 43:24OTHER CRYPTO FUNCTIONS
  14. 48:29EXAMPLE: STATELESS API TOKEN GENERATION IN LARAVEL
  15. 50:33EXAMPLE: STATELESS API TOKEN VALIDATION IN LARAVEL
  16. 52:37DOCUMENTATION
~/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.