diff --git a/src/Password/Bcrypt.php b/src/Password/Bcrypt.php index d1afcc1..7ffe1b7 100644 --- a/src/Password/Bcrypt.php +++ b/src/Password/Bcrypt.php @@ -97,7 +97,7 @@ public function create($password) } } $hash = crypt($password, $prefix . $this->cost . '$' . $salt64); - if (strlen($hash) <= 13) { + if (strlen($hash) < 13) { throw new Exception\RuntimeException('Error during the bcrypt generation'); } return $hash;