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.62k stars 711 forks source link

Install faile on Windows with VS2019 #595

Open TY-cc opened 1 year ago

TY-cc commented 1 year ago

I installed a 3.3.0 version SEAL before. Because I want save ciphertext to file, I want to install 3.5.9 version SEAL. But I failed. Error reporting is the same as [#236](https://github.com/microsoft/SEAL/issues/236),and I have installed git. How to solve this error?

kimlaine commented 1 year ago

Do you have your git binary directory in your Windows $PATH?

TY-cc commented 1 year ago

I don't. I have install it at linux. In a few day I will try again on windows. I have another problem. If I have the same “EncryptionParameters”, will I produce the same “context” (SEALContext)?

kimlaine commented 1 year ago

Yes, the SEALContext is entirely determined by the parameters. I was asking about Windows because in the link you posted the issue is very closely related to SEAL being built on Windows.

Y-AKBAS commented 1 year ago

@TY-cc why do you want that specific version? You can still save the ciphertext to a file with the version 4.0.0(The last one I used), can't you? In the examples of serialization you can find good explanations. I would suggest using a package manager like vcpkg instead. For my bachelor thesis I am currently developing a simulation environment with SEAL on Windows and I am using it as I suggested. Here is my project if you want to take a look at it:

https://github.com/Y-AKBAS/HE_Feasibility_SEAL

Btw thank you very much @kimlaine and the whole team, the names of which I unfortunately don't know! It is a great work :)