~/talk

The Slower the Stronger: A Story of Password Hash Migration

Talkat GeeCON 2019 · 2019-05-15..05-17· [security, cryptography]
links:none on file
slides:none on file

A case study of migrating Ocado’s password store: benchmarks show 19–20 billion MD5 hashes/sec per GPU, while bcrypt cost=8 ≈80 ms on their machines, so PBKDF2 (chosen) is used with Bouncy Castle via a password-hasher with hash vector API. The migration builds background jobs to translate existing hashes to vectors, append PBKDF2, and finally cleanup; it runs on an isolated worker node, handles orphan rows by cloning the table for rollback, takes many months in practice, and completes successfully.

AI-written summary · about

  1. 0:00Start
  2. 2:04Agenda
  3. 5:28Slow hashing algorithms
  4. 7:39Argon2
  5. 8:36PBKDF-2
  6. 11:36bcrypt hash
  7. 13:52Hashing speed comparison-live demo
  8. 16:15How long does it take to compute a hash?
  9. 18:11Migration process
  10. 18:36What Ocado Technology does
  11. 21:18Why change?
  12. 25:11Example hashVector
  13. 26:59PasswordHasher API
  14. 29:53Migration plan
  15. 32:36Migrate passwords when customers provide them
  16. 33:45Translate current passwords to hashVectors
  17. 35:45After full migration is done
  18. 36:14Migration report
  19. 37:10Problems
  20. 37:23Problem: time taken to migrate
  21. 39:08Problem: orphan password entries
  22. 43:06Summary (we're almost there!)
  23. 44:53Links
  24. 45:21Thank you for listening!
~/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.