Skip to content

Instantly share code, notes, and snippets.

@pathaine

pathaine/p7.cpp Secret

Last active December 26, 2018 19:21
Show Gist options
  • Save pathaine/6996fab77ccbf1eaddc43ed66fda7a2c to your computer and use it in GitHub Desktop.
Save pathaine/6996fab77ccbf1eaddc43ed66fda7a2c to your computer and use it in GitHub Desktop.
Plaintext result;
cc->Decrypt(kp.secretKey, innerProduct, &result);
printf("Inner product is equal to %d", int(result->GetPackedValue()[0]));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment