We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 257bcf7 commit 2b4a42bCopy full SHA for 2b4a42b
1 file changed
src/wrapper.cpp
@@ -412,8 +412,12 @@ PYBIND11_MODULE(seal, m)
412
Ciphertext encrypted;
413
encryptor.encrypt(plain, encrypted);
414
return encrypted;
415
+ })
416
+ .def("encrypt_symmetric", [](const Encryptor &encryptor, const Plaintext &plain){
417
+ Ciphertext encrypted;
418
+ encryptor.encrypt_symmetric(plain, encrypted);
419
+ return encrypted;
420
});
- // symmetric
421
422
// evaluator.h
423
py::class_<Evaluator>(m, "Evaluator")
0 commit comments