Function lbcrypto::convertToMultiplicationTechnique(uint32_t)

Function Documentation

MultiplicationTechnique lbcrypto::convertToMultiplicationTechnique(uint32_t num)

Converts an integer to a MultiplicationTechnique enumerator, checking that it is a defined enumerator value.

Parameters

num – the integer value of the enumerator

Returns

the corresponding enumerator; throws an exception if the value is not a defined enumerator