mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixed statement about Security:hash's salt parameter
Just nitpicking, but it prepends the salt, not appends it: https://github.com/cakephp/cakephp/blob/master/lib/Cake/Utility/Security.php#L120
This commit is contained in:
parent
1bdcc58e31
commit
7d4f229310
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class Security {
|
||||||
*
|
*
|
||||||
* @param string $string String to hash
|
* @param string $string String to hash
|
||||||
* @param string $type Method to use (sha1/sha256/md5/blowfish)
|
* @param string $type Method to use (sha1/sha256/md5/blowfish)
|
||||||
* @param mixed $salt If true, automatically appends the application's salt
|
* @param mixed $salt If true, automatically prepends the application's salt
|
||||||
* value to $string (Security.salt). If you are using blowfish the salt
|
* value to $string (Security.salt). If you are using blowfish the salt
|
||||||
* must be false or a previously generated salt.
|
* must be false or a previously generated salt.
|
||||||
* @return string Hash
|
* @return string Hash
|
||||||
|
|
Loading…
Add table
Reference in a new issue