helpers/Bcrypt.php
public static function genHash($password)
    {
        if (CRYPT_BLOWFISH != 1)
            throw new \Exception( "Bcrypt is not supported on this server, please see the following to learn more: http://php.net/crypt" );

        /* Explain '$2y$' . $this->rounds . '$' */
        /* 2y selects bcrypt algorithm */
        /* $this->rounds is the workload factor */
        /* GenHash */
        $hash = crypt( $password, '$2y$' . self::$rounds . '$' . self::genSalt() );
        /* Return */
        return $hash;
    }
public static function genHash($password)
    {
        if (CRYPT_BLOWFISH != 1)
            throw new \Exception( "Bcrypt is not supported on this server, please see the following to learn more: http://php.net/crypt" );

        /* Explain '$2y$' . $this->rounds . '$' */
        /* 2y selects bcrypt algorithm */
        /* $this->rounds is the workload factor */
        /* GenHash */
        $hash = crypt( $password, '$2y$' . self::$rounds . '$' . self::genSalt() );
        /* Return */
        return $hash;
    }
/* Gen Hash