Example #1
0
 public function __construct($rounds = 12)
 {
     if (CRYPT_BLOWFISH != 1) {
         throw new Exception("bcrypt not supported in this installation. See http://php.net/crypt");
     }
     self::$rounds = $rounds;
 }