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

Function Documentation

MultiplicationTechnique lbcrypto::convertToMultiplicationTechnique(const std::string &str)

Converts the name of a MultiplicationTechnique 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