@@ -12,14 +12,14 @@ |
||
12 | 12 | |
13 | 13 | $salt=self::generateSalt(); |
14 | 14 | |
15 | - /* Create a string that will be passed to crypt, containing all |
|
15 | + /* Create a string that will be passed to crypt, containing all |
|
16 | 16 | * of the settings, separated by dollar signs |
17 | 17 | */ |
18 | - $salt='$'.implode('$',[$bcrypt_version, $cost, $salt]); |
|
18 | + $salt='$'.implode('$',[$bcrypt_version, $cost, $salt]); |
|
19 | 19 | |
20 | - $ciphertext = crypt($plaintext, $salt); |
|
20 | + $ciphertext = crypt($plaintext, $salt); |
|
21 | 21 | |
22 | - return $ciphertext; |
|
22 | + return $ciphertext; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | public static function verify($plaintext, $ciphertext) |