PBKDF2 generic hashing method: unclear usage, examples needed