reference/sodium/functions/sodium-crypto-pwhash.xml
b97a90233ae03784041d9d9d62363eefbe19ff8f
...
...
@@ -49,7 +49,7 @@
49
49
<term><parameter>salt</parameter></term>
50
50
<listitem>
51
51
<para>
52
-
A salt to add to the password before hashing. The salt should be unpredictable, ideally generated from a good random number source such as <function>random_bytes</function>, and have a length of at least <constant>SODIUM_CRYPTO_PWHASH_SALTBYTES</constant> bytes.
52
+
A salt to add to the password before hashing. The salt should be unpredictable, ideally generated from a good random number source such as <function>random_bytes</function>, and have a length of exactly <constant>SODIUM_CRYPTO_PWHASH_SALTBYTES</constant> bytes.
53
53
</para>
54
54
</listitem>
55
55
</varlistentry>
56
56