libzeep

PrevUpHomeNext

Class pbkdf2_sha256_password_encoder

zeep::http::pbkdf2_sha256_password_encoder

Synopsis

// In header: <zeep/http/security.hpp>


class pbkdf2_sha256_password_encoder : public zeep::http::password_encoder {
public:
  // construct/copy/destruct
  pbkdf2_sha256_password_encoder(int = 30000, int = 32);

  // public static functions
  static constexpr const char * name();

  // public member functions
  virtual std::string encode(const std::string &) const;
  virtual bool matches(const std::string &, const std::string &) const;
};

Description

pbkdf2_sha256_password_encoder public construct/copy/destruct

  1. pbkdf2_sha256_password_encoder(int iterations = 30000, int key_length = 32);

pbkdf2_sha256_password_encoder public static functions

  1. static constexpr const char * name();

pbkdf2_sha256_password_encoder public member functions

  1. virtual std::string encode(const std::string & password) const;
  2. virtual bool 
    matches(const std::string & raw_password, const std::string & stored_password) const;

PrevUpHomeNext