#include <userver/server/handlers/auth/digest/auth_checker_base.hpp>
Used for data hashing and "nonce" generating.
Definition at line 34 of file auth_checker_base.hpp.
Public Member Functions | |
| Hasher (std::string_view algorithm, const SecdistConfig &secdist_config) | |
| std::string | GenerateNonce (std::string_view etag) const | 
| Returns "nonce" directive value in hexadecimal format.  | |
| std::string | GetHash (std::string_view data) const | 
| server::handlers::auth::digest::Hasher::Hasher | ( | std::string_view | algorithm, | 
| const SecdistConfig & | secdist_config ) | 
Constructor from the hash algorithm name from "crypto" namespace to be used for hashing and storages::secdist::SecdistConfig containing a server secret key http_server_digest_auth_secret to be used for "nonce" generating. 
| std::string server::handlers::auth::digest::Hasher::GetHash | ( | std::string_view | data | ) | const | 
Returns data hashed according to the specified in constructor algorithm.