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