Correct documentation for number of salt generation rounds (elastic/x-pack-elasticsearch#4322)
For the user cache, the crypt option rounds are actually the log2 of the number
of rounds. This commits updates the documentation to reflect this.
Original commit: elastic/x-pack-elasticsearch@2b92851131fa748ea77f783c6e63fb927252cb14
@@ -19,13 +19,13 @@ setting the `cache_hash_algo` setting to any of the following:
| `ssha256` | | | Uses a salted `sha-256` algorithm (default).
| `md5` | | | Uses `MD5` algorithm.
| `sha1` | | | Uses `SHA1` algorithm.
-| `bcrypt` | | | Uses `bcrypt` algorithm with salt generated in 10 rounds.
-| `bcrypt4` | | | Uses `bcrypt` algorithm with salt generated in 4 rounds.
-| `bcrypt5` | | | Uses `bcrypt` algorithm with salt generated in 5 rounds.
-| `bcrypt6` | | | Uses `bcrypt` algorithm with salt generated in 6 rounds.
-| `bcrypt7` | | | Uses `bcrypt` algorithm with salt generated in 7 rounds.
-| `bcrypt8` | | | Uses `bcrypt` algorithm with salt generated in 8 rounds.
-| `bcrypt9` | | | Uses `bcrypt` algorithm with salt generated in 9 rounds.
+| `bcrypt` | | | Uses `bcrypt` algorithm with salt generated in 1024 rounds.
+| `bcrypt4` | | | Uses `bcrypt` algorithm with salt generated in 16 rounds.
+| `bcrypt5` | | | Uses `bcrypt` algorithm with salt generated in 32 rounds.
+| `bcrypt6` | | | Uses `bcrypt` algorithm with salt generated in 64 rounds.
+| `bcrypt7` | | | Uses `bcrypt` algorithm with salt generated in 128 rounds.
+| `bcrypt8` | | | Uses `bcrypt` algorithm with salt generated in 256 rounds.
+| `bcrypt9` | | | Uses `bcrypt` algorithm with salt generated in 512 rounds.
| `noop`,`clear_text` | | | Doesn't hash the credentials and keeps it in clear text in
memory. CAUTION: keeping clear text is considered insecure
and can be compromised at the OS level (for example through
