Function lbcrypto::convertToDecryptionNoiseMode(const std::string&)

Function Documentation

DecryptionNoiseMode lbcrypto::convertToDecryptionNoiseMode(const std::string &str)

Converts the name of a DecryptionNoiseMode enumerator (as spelled in constants-defs.h) to its value.

Parameters

str – the enumerator name

Returns

the corresponding enumerator; throws an exception if the name is unknown