2017-04-30 17:16 GMT+02:00 Jeffrey Walton <noloa...@gmail.com>: > > > On Sunday, April 30, 2017 at 4:20:27 AM UTC-4, olafv...@gmail.com wrote: >> >> What's the recommended way to hash passwords? I can't find any guides / >> tutorials on this. >> >> I'm looking for a function like std::string hash_password(std::string >> password); but I think crypto++ doesn't provide an interface like that. > > > It kind of depends on what you want to do. There are several standards for > hashing passwords available: HKDF, PBKDF (PKCS #12), PBKDF-1 (PKCS #5), > PBKDF-2/HMAC (PKCS #5). > > Crypto++ lacks the Password Hashing finalists at the moment, but its on the > roadmap. > > If all you want to do is hash a password, then use HKDF. It follows the > modern Extract-then-Expand design of Krawczk and Eronen.
I was hoping to find a simple API like the one I mentioned above. Is a usage example for any of the hashing methods you mentioned available? -- Olaf -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.