Function zeep::pbkdf2_hmac_sha1

Function Documentation

std::string zeep::pbkdf2_hmac_sha1(std::string_view salt, std::string_view password, unsigned iterations, unsigned keyLength)

create password hash according to PBKDF2 with HmacSHA1

This algorithm can be used to create keys for symmetric encryption. But you can also use it to store hashed passwords for user authentication.

Parameters
  • salt – the salt to use

  • password – the password

  • iterations – number of iterations, use a value of at least 30000

  • keyLength – the requested key length that will be returned