From 7d4f2293102fc8fd8b808da628052a5ff7eec85c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Mon, 12 Aug 2013 12:52:34 +0200 Subject: [PATCH] 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 --- lib/Cake/Utility/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/Security.php b/lib/Cake/Utility/Security.php index a3b162207..91ad9699b 100644 --- a/lib/Cake/Utility/Security.php +++ b/lib/Cake/Utility/Security.php @@ -99,7 +99,7 @@ class Security { * * @param string $string String to hash * @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 * must be false or a previously generated salt. * @return string Hash