[*] « Deserialize »не является членом‘ CryptoContextFactory ’»
[*] endAlid enum значения в PkeSchemefeact
enum enum Она .
Вот соответствующий фрагмент моего кода десериализации на клиенте B
Код: Выделить всё
#include "openfhe.h"
#include
#include
using namespace lbcrypto;
int main() {
const std::string contextFile = "crypto_context.txt";
CryptoContext cc;
// Attempt to deserialize CryptoContext from file
std::ifstream ifsCtx(contextFile, std::ios::binary);
if (!ifsCtx.is_open()) {
std::cerr Enable(PKESchemeFeature::ENCRYPTION);
cc->Enable(PKESchemeFeature::SHE);
return 0;
}
Подробнее здесь: https://stackoverflow.com/questions/796 ... ng-cerealb
Мобильная версия