3 ms·
Curious if there's tooling to de/serialize the encryption context? The examples aren't very useful to demonstrate "real" homomorphic encryption in the sense th
by e12e 4y ago
Curious if there's tooling to de/serialize the encryption context?
The examples aren't very useful to demonstrate "real" homomorphic encryption in the sense that it takes in plaintext directly; encrypt and transforms; then decrypts - I'd love to see a snub that takes encrypted input (only) and returns ciphertext of the result - that can then be decrypted on a client node provided the correct key?
Or is this supposed to be only proof of concept?
Cool stuff, either way.
- slackner 4y agoThere seem to be built-in methods for serializing and deserializing crypto context as well as ciphertexts [0], so it shouldn't be too difficult to build a "complete" example that performs the actual computation in a different application. That said, with a duration of 7 seconds for a simple addition, it is still far from many practical applications, in my opinion. [0] https://github.com/openfheorg/openfhe-development/blob/main/src/binfhe/examples/boolean-serial-json.cpp https://github.com/openfheorg/openfhe-development/blob/main/...
- touisteur 4y agoWould that enable continuations or lightweight checkpoint restore? If computation takes hours or weeks you might want to do add some restart-ability...
- j2kun 4y agoWe have some serialization and deseralization to protos for internal tests. It's straightforward, and probably we'll add it to the compiler once we have a strong need and some more stable backends