saveParameters method
Returns the string representation of FHE parameters.
Useful for saving to disk or sending over the network.
The header
is the string representation of the parameters.
The size
is the length of the string.
Implementation
Map saveParameters() {
final params = _c_save_params(library);
final paramSize = _c_save_params_size(library);
raiseForStatus();
return {
"header": params,
"size": paramSize,
};
}