~/talk

Crypto for Everyone – Libsodium in PHP 7.2

Talkat International PHP Conference Munich 2018 · 2018-10-15..10-19· [security, php]
slides:none on file

PHP now ships bundled in PHP 7.2 with libsodium so apps get vetted primitives by default: argon2id password hashing, BLAKE2b-based generic hash, constant-time verify functions, and secure KDFs. libsodium exposes secret-key secretbox (encrypt‑then‑MAC), AEAD ciphers (ChaCha20‑Poly1305 and AES‑GCM), and public-key X25519 box (X25519 + XSalsa20 + Poly1305). Examples show encrypting API tokens with nonce+ciphertext, using memzero to wipe keys, and migrating hashes on login; mcrypt is deprecated and should be avoided.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35What is crypto
  3. 2:01Do you need cryptography code
  4. 2:47Should you write your own crypto code
  5. 3:30Crypto functions
  6. 6:13History of cryptographic functions
  7. 7:52Which extension should you use
  8. 9:07PHP cryptography libraries
  9. 11:15What is Libsodium
  10. 13:40Sidechannel attacks
  11. 15:55Timing sidechannel
  12. 19:28Hashing
  13. 23:34Hash Algorithms
  14. 26:19Message Authentication Codes
  15. 30:35Nonces
  16. 34:57Secret Key Encryption
  17. 39:55Secret Box Encryption
  18. 43:07Public Key Encryption
  19. 46:05Private Key Encryption
  20. 48:17Other Crypto Functions
  21. 50:43Password Hash
  22. 52:10Generating API Tokens
  23. 55:20Documentation
  24. 56:48Summary
  25. 57:34Question
~/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.