Questions tagged [homomorphic-encryption]

Homomorphic encryption is an encryption that allows provide some mathematical operations (e.g. linear regression) on encrypted data without necessity to decrypt it. Use this tag for questions about the homomorphic encryption and supported frameworks. Do not use this tag for common issues about encryption and decryption.

7 questions
3
votes
0 answers

Partial Homomorphic Encryption with Haskell

I am working with a fairly simple Paillier partial homomorphic encryption library in Haskell. The API for the library is here - https://hackage.haskell.org/package/Paillier-0.1.0.3/docs/Crypto-Paillier.html This library unfortunately does not handle…
3
votes
1 answer

Calculate Distance Metric between Homomorphic Encrypted Vectors

Is there a way to calculate a distance metric (euclidean or cosine similarity or manhattan) between two homomorphically encrypted vectors? Specifically, I'm looking to generate embeddings of documents (using a transformer), homomorphically…
2
votes
2 answers

Why can’t I query the encrypted fields of my OmniIndex blockchain?

I am expecting to be able to query my blockchain, using the published omniindex runanalyticquery endpoint. First I ran getblockschematic, so that I could see the fields I want to run the query against… In my blockchain schematic I have two fields I…
0
votes
0 answers

AssertionError for vector length when using py-fhe library for vector encryption

I'm trying to use a ckks encryption example from this repo with my vectors, https://github.com/sarojaerabelli/py-fhe/blob/master/examples/ckks_mult_example.py Problem is, each of my vectors have a length of 384, and am getting this AssertionError…
Bluetail
  • 1,093
  • 2
  • 13
  • 27
0
votes
1 answer

Creating an array of Ciphertexts in Microsoft SEAL using C++

I want to create an array of packed ciphertexts using the BFV homomorphic encryption scheme in Microsft SEAL, C++. If I have 8192 slots in one packed BFV ciphertext, I want to create an array of 10 such ciphertexts to perform various operations on…
0
votes
0 answers

Division/Bit-shift in Palisade Homomorphic Encryption

I am trying to convert a benchmark to homomorphic domain, and I'm using Palisade library for that due to its support of multiple schemes like BFV, BGV, CKKS. I am currently using BFV scheme. There is a line in the code- y = x >> 6. This line in my…
0
votes
1 answer

mod on coefficients in R

Various Homomorphic Encryption (FHE) schema that use Ring-Learning With Errors (RLWE) problems (and post-quantum, lattice-based cryptography in general) need to perform a polynomial modulo and then a scalar modulo on the coefficients. I use the…
Bastiaan Quast
  • 2,802
  • 1
  • 24
  • 50