Double -> single
[core.git] / inc / classes / main / scrypt / class_Scrypt.php
index 8f4891d06bfe5c657fc7fe942a1669d5d757b1c7..bcbc5b3eb26095e35dcae76dd572dec3b7059f0e 100644 (file)
@@ -131,15 +131,15 @@ abstract class Scrypt extends BaseFrameworkSystem
     public static function hashScrypt($password, $salt = false, $N = 16384, $r = 8, $p = 1)
     {
         if ($N == 0 || ($N & ($N - 1)) != 0) {
-            throw new \InvalidArgumentException("N must be > 0 and a power of 2");
+            throw new \InvalidArgumentException('N must be > 0 and a power of 2');
         }
 
         if ($N > PHP_INT_MAX / 128 / $r) {
-            throw new \InvalidArgumentException("Parameter N is too large");
+            throw new \InvalidArgumentException('Parameter N is too large');
         }
 
         if ($r > PHP_INT_MAX / 128 / $p) {
-            throw new \InvalidArgumentException("Parameter r is too large");
+            throw new \InvalidArgumentException('Parameter r is too large');
         }
 
         if ($salt === false) {