aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual
diff options
context:
space:
mode:
authorKelvin <[email protected]>2019-02-18 18:28:44 -0500
committerGitHub <[email protected]>2019-02-18 18:28:44 -0500
commit8e5c18b3fd08d2cb708c3db9f56a69f5458caab5 (patch)
treea5e945646a75c60f202841a1ed1489f3a93d00b2 /doc/manual
parent5ea9ddf36573890d34815bcabedd4d60d8ab5d19 (diff)
Update docs to replace from_configuration.
PasswordHash::from_configuration has bee replace with with PasswordHash::from_params.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/pbkdf.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/manual/pbkdf.rst b/doc/manual/pbkdf.rst
index 534ba5c21..6539c6f0f 100644
--- a/doc/manual/pbkdf.rst
+++ b/doc/manual/pbkdf.rst
@@ -96,12 +96,16 @@ The ``PasswordHashFamily`` creates specific instances of ``PasswordHash``:
milliseconds when producing an output of length ``output_len``. (Accuracy
may vary, use the command line utility ``botan pbkdf_tune`` to check.)
- .. cpp:function:: std::unique_ptr<PasswordHash> from_configuration( \
- size_t i1, size_t i2 = 0, size_t i3 = 0, size_t i4 = 0, const char* cfg_str = nullptr) const
-
- Return a new password hash instance based on some number of integer and
- string parameters. Any values not used by a particular scheme should be
- set to zero/null.
+ .. cpp:function:: std::unique_ptr<PasswordHash> from_params( \
+ size_t i1, size_t i2 = 0, size_t i3 = 0) const
+
+ Create a password hash using some scheme specific format.
+ Eg PBKDF2 and PGP-S2K set iterations in i1
+ Scrypt uses N,r,p in i{1-3}
+ Bcrypt-PBKDF just has iterations
+ Argon2{i,d,id} would use iterations, memory, parallelism for i{1-3}, and Argon2 type is part of the family.
+
+ Values not needed should be set to 0.
Available Schemes
----------------------