How to use SEAL to encrypt a model file(or data files)?

ru flag

How to use SEAL(Microsoft's HE library) to encrypt a local training model file? Any code demos?

kodlu avatar
sa flag
What's a model file?
SAI Peregrinus avatar
si flag
And what is SEAL? Microsoft's homomorphic encryption library? The block cipher? Something else? For the MS lib, you read the API docs and write a program that can perform the computations you need. For the block cipher, it's quite outdated and not recommended for new designs.
ru flag
SEAL means the Microsoft's Library.Actually I did not find the API docs,only a ckks exmple by SEAL which encrypt a polynomial,but i still can't write the code to encrypt a file like txt or csv...
ru flag
model file means we apply a Federated Learning based model to train the local model like CNN or what else,and record the weight.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.