backport CipherKey digest changes and tests from develop

This commit is contained in:
Alex Fabijanic
2017-09-26 11:38:53 -05:00
parent b4f1427725
commit dc2c4dcd27
6 changed files with 88 additions and 6 deletions

View File

@@ -19,8 +19,12 @@ namespace Poco {
namespace Crypto {
CipherKey::CipherKey(const std::string& name, const std::string& passphrase, const std::string& salt, int iterationCount):
_pImpl(new CipherKeyImpl(name, passphrase, salt, iterationCount))
CipherKey::CipherKey(const std::string& name,
const std::string& passphrase,
const std::string& salt,
int iterationCount,
const std::string &digest):
_pImpl(new CipherKeyImpl(name, passphrase, salt, iterationCount, digest))
{
}