Comments (2)
Macro is defined in pir.hpp (https://github.com/microsoft/SealPIR/blob/master/pir.hpp#L10).
deserialize_query is also defined in pir.hpp:
PirQuery deserialize_query(std::uint32_t d, uint32_t count, std::string s, std::uint32_t len_ciphertext);
If my memory serves me right, d is the number of dimensions, count is the number of ciphertexts needed to encode the index in each dimension, s is the serialized query, and len_ciphertext is the size of the ciphertext in bytes.
from sealpir.
I have:
N = 4096
q = CoeffModulus::BFVDefault( N ) (SEAL v3.5.8)
t = 257
Ciphertext cp_data; <-- I encrypt some data, and it is stored here.
cp.int_array().size() = 16384; <- I expected this to be twice this size.
string data_serialized = serialize_data( cp );
data_serialized.size() = 91194;
So, should CIPHER_SIZE be 16384?
from sealpir.
Related Issues (20)
- fatal error: 'seal/seal.h' file not found HOT 3
- So, this version is only for single retrieval for PIR? HOT 3
- A question of the test program main HOT 4
- About ctest HOT 2
- About the type of the retrieved item HOT 2
- undeclared identifier logtp
- About the upper bound of `size_per_item`
- Could not find a configuration file HOT 1
- With pirserver:: serialize_ reply method, but there is no corresponding deserialize. HOT 5
- About Test HOT 1
- using namespace std in pirclient header
- Why doesn't modulus switching work with BGV?
- Does sealpir support multi-core computing? HOT 1
- How does SealPIR support Keyword PIR? HOT 2
- A question about plaintext encoding. HOT 3
- This repo is missing important files
- N=1024 or N=2048 HOT 4
- PBC HOT 6
- Reuse Enc_Parameters and PIR_Parameters HOT 2
- SEAL 3.5.8 and expanded query invalid encryption parameters on decryption HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sealpir.