Function lbcrypto::convertToDecryptionNoiseMode(uint32_t)

Function Documentation

DecryptionNoiseMode lbcrypto::convertToDecryptionNoiseMode(uint32_t num)

Converts an integer to a DecryptionNoiseMode 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