<s>[INST] Let's say I have a program that takes user input for a username and password, and I want to hash the password before storing it in the database. I want to use PBKDF2 for this, which is widely considered a good choice. On most platforms, crypt() won't work because it's not designed to hash passwords.

What should I use instead?[/INST]