public static function hash_password($password) { is_null(self::$hasher) and self::$hasher = new \PHPSecLib\Crypt_Hash(); return base64_encode(self::$hasher->pbkdf2($password, Config::get('auth.salt'), Config::get('auth.iterations', 10000), 32)); }