~/talk

The Sodium crypto library of PHP 7.2

Talkat phpDay 2018 · 2018-05-11..05-12· [security, php]
slides:none on file

Sodium lands as a PHP 7.2 core extension and exposes about 85 functions that wrap libsodium C primitives. Examples show authenticated encryption (crypto_secretbox) with 256‑bit keys and nonces, public‑key crypto (crypto_box) and 64‑byte signatures for non‑repudiation, Argon2 password hashing and KDFs (deriving 32‑byte keys from passwords; sodium output ~1967 bytes) and memory utilities like sodium_memzero and constant‑time compare to mitigate timing and side‑channel attacks.

AI-written summary · about

  1. 0:00Intro
  2. 2:00Cryptography
  3. 13:33Eelliptic curve
  4. 19:13Encryption
  5. 22:56Authentication
  6. 24:11Public encryption
  7. 27:38Digital signature
  8. 30:03AES
  9. 36:36Key derivation
~/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.