genContext method
Generates a context for the encryption scheme.
The context
is a map of parameters used to generate the encryption context for the Scheme.
Implementation
String genContext(Map context) {
return switch (scheme.name) {
"bfv" => _contextBFV(context),
"bgv" => _contextBGV(context),
"ckks" => _contextCKKS(context),
_ => "error: Invalid Scheme"
};
}