qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
qb::crypto::Argon2Params Struct Reference

Parameters for the Argon2 algorithm. More...

#include <crypto.h>

Public Attributes

uint32_t t_cost
 Time cost (number of iterations, e.g., passes over memory).
uint32_t m_cost
 Memory cost in KiB (kilobytes).
uint32_t parallelism
 Degree of parallelism (number of threads).
std::string salt
 Salt for the hash function.

Detailed Description

Parameters for the Argon2 algorithm.

Member Data Documentation

◆ salt

std::string qb::crypto::Argon2Params::salt

Salt for the hash function.

If empty, a random salt might be used or implied by specific functions.