Lab41 / PySEAL

This repository is a fork of Microsoft Research's homomorphic encryption implementation, the Simple Encrypted Arithmetic Library (SEAL). This code wraps the SEAL build in a docker container and provides Python API's to the encryption library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saving secret_key and public key

CarlosMoralesSal opened this issue · comments

I'm trying to save the secret_key and public_key in a file to use it after that in other files. How can I do that?. I see the method save, but I don't know how to use it.

Thanks so much

Pickling works like a charm here, just use pickle dump method which will store your keys and then using load you can load keys from files.