boost::http::bcrypt::get_rounds
Extract the cost factor from a hash string.
Synopsis
Declared in <boost/http/bcrypt/hash.hpp>
unsigned int
get_rounds(
core::string_view hash,
system::error_code& ec);
Parameters
| Name | Description |
|---|---|
hash |
The hash string to parse. |
ec |
Set to bcrypt::error::invalid_hash if the hash is malformed. |
Created with MrDocs