From 4fd7c8efa8027bfbc017fcbe0c5d85e6e1506696 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Tue, 6 Oct 2020 11:31:41 -0400 Subject: docs / sha crypt: commented out the "implicit_rounds" param in docs, it's not actually supported by using(), and isn't needed for users (issue 121) --- docs/lib/passlib.hash.sha256_crypt.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/lib/passlib.hash.sha256_crypt.rst b/docs/lib/passlib.hash.sha256_crypt.rst index 907ce7a..8d3e950 100644 --- a/docs/lib/passlib.hash.sha256_crypt.rst +++ b/docs/lib/passlib.hash.sha256_crypt.rst @@ -70,9 +70,9 @@ An sha256-crypt hash string has the format :samp:`$5$rounds={rounds}${salt}${che * :samp:`{checksum}` is 43 characters drawn from the same set, encoding a 256-bit checksum (``cKhJImk5mfuSKV9b3mumNzlbstFUplKtQXXMo4G6Ep5`` in the example). -There is also an alternate format :samp:`$5${salt}${checksum}`, -which can be used when the rounds parameter is equal to 5000 -(see the ``implicit_rounds`` parameter above). +The official implementation allows omitting the ``rounds`` section when it's set to 5000, +resulting in an alternate hash format: :samp:`$5${salt}${checksum}`. +(Passlib supports this via the ``implicit_rounds`` constructor parameter). The algorithm used by SHA256-Crypt is laid out in detail in the specification document linked to below [#f1]_. -- cgit v1.2.1