CryptoSys PKI
23.0.0
|
Pseudorandom function (PRF). More...
Public Types | |
enum class | PrfAlg |
Pseudorandom function (PRF) algorithm. More... | |
Static Public Member Functions | |
static bvec_t | Bytes (int numBytes, const bvec_t &message, const bvec_t &key, PrfAlg prfalg, const std::string &customStr="") |
Generate output bytes using a pseudorandom function (PRF). More... | |
Pseudorandom function (PRF).
|
strong |
|
static |
Generate output bytes using a pseudorandom function (PRF).
numBytes | Required number of output bytes. |
message | Input message data. |
key | Key in byte array. |
prfalg | PRF algorithm. |
customStr | Customization string (optional) |