diff options
Diffstat (limited to 'doc/manual/passhash.rst')
-rw-r--r-- | doc/manual/passhash.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/passhash.rst b/doc/manual/passhash.rst index 725fc5535..99af4a7ea 100644 --- a/doc/manual/passhash.rst +++ b/doc/manual/passhash.rst @@ -88,7 +88,7 @@ Bcrypt provides outputs that look like this:: Currently only the `2a` bcrypt format is supported. .. cpp:function:: std::string generate_bcrypt(const std::string& password, \ - RandomNumberGenerator& rng, u16bit work_factor = 10) + RandomNumberGenerator& rng, uint16_t work_factor = 10) Takes the password to hash, a rng, and a work factor. Higher work factors increase the amount of time the algorithm runs, increasing @@ -131,7 +131,7 @@ being a widely used password hash. Prefer bcrypt. for scrypt password hashes on Cisco systems. .. cpp:function:: std::string generate_passhash9(const std::string& password, \ - RandomNumberGenerator& rng, u16bit work_factor = 10, byte alg_id = 1) + RandomNumberGenerator& rng, uint16_t work_factor = 10, uint8_t alg_id = 1) Functions much like ``generate_bcrypt``. The last parameter, ``alg_id``, specifies which PRF to use. Currently defined values are |