Current blowfish implementation is limited to 2**4-2**31, according to

Solar Designer.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295224 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joey Smith 2010-02-18 00:10:10 +00:00
parent 7cfaafb9bf
commit f8e3f4345b

View file

@ -67,7 +67,7 @@
"$2a$", a two digit cost parameter, "$", and 22 base 64 digits from the alphabet
"./0-9A-Za-z". Using characters outside of this range in the salt will cause crypt() to return
a zero-length string. The two digits set the cost parameter, where the output will be fed back
into the Blowfish cipher 2^cost times. The cost parameter must be in range 03-39, values outside
into the Blowfish cipher 2^cost times. The cost parameter must be in range 04-31, values outside
this range will cause crypt() to select DES-based encryption instead, with a salt of '$2'.
</simpara>
</listitem>