2 ms·
String KDFs are also slow. That's the basic strategy for making high-entropy keys out of low-entropy inputs.
by tptacek 2y ago
String KDFs are also slow. That's the basic strategy for making high-entropy keys out of low-entropy inputs.
- Zamicol 2y agoPassword hash functions are intentionally designed to be extremely slow (at an exponential scale). While this makes perfect sense for password hashing, it is nonsensical to have such an intentional, configurable slowdown mechanism in KDFs. KDFs have computational cost, but having the kind of extreme slowdown that password hash functions have makes no sense for purpose designed KDFs, especially when needing to derive many keys.