serializeCombinedCipher function
Deserializes the public key from JSON format
Implementation
String serializeCombinedCipher(ASECombinedCipher cc) => jsonEncode({
'kemCt': {
'u': cc.kemCt.u.vec.map((p) => p.coeffs).toList(),
'v': cc.kemCt.v.coeffs,
},
'nonce': cc.nonce.toList(),
'ciphertext': cc.ciphertext.toList(),
'salt': cc.salt.toList(),
});