3 #include <Poco/Crypto/CipherKey.h>
11 void setAlgorithm(
const std::string &name);
12 std::string algorithm()
const;
14 void setSalt(
const std::string &salt);
15 std::string salt()
const;
17 void setIterationCount(
const int count);
18 int iterationCount()
const;
20 Poco::Crypto::CipherKey createKey(
21 const std::string &passphrase)
const;
22 Poco::Crypto::CipherKey randomKey(
const unsigned int length = 256)
const;
24 std::string toString()
const;
28 static CryptoParams create(
const std::string &algorithm);
36 static std::string
randomString(
const unsigned int length);
41 std::string m_algorithm;
static std::string randomString(const unsigned int length)
Definition: CryptoParams.cpp:136
Definition: CryptoParams.h:7