microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.46k stars 694 forks source link

How can I make a program using the seal library to be a dll? #672

Closed CatchMyCats closed 1 month ago

CatchMyCats commented 8 months ago

I am writing a program using seal library, I installed the library and used cmakeliststxt to find the packege. Now I want to make the program a dll, but failed. The error was like this : "undefined reference to `seal::CoeffModulus::Create(unsigned long long, std::vector<int, std::allocator >)' ". How can I solve it? Or, how can I use seal in java? What I am trying to do is using jni to use seal in java. I hope someone to give me some suggestions. Thank you.

fionser commented 8 months ago

Check out the mpc4j which contains a Java wrapper for SEAL already