Inversed-Tech / eyelid

Private iris matching
Apache License 2.0
0 stars 0 forks source link

Implement the plaintext encoding #37

Closed emmorais closed 1 month ago

emmorais commented 3 months ago

Subtasks:

Optional:

emmorais commented 3 months ago

The only difference for ciphertext encoding is the Finite Field, then ideally we should be able to use this implementation also for the NTRU encoding, since the ciphertext is given just by one polynomial.

bgillesp commented 1 month ago

Following up on questions from @teor2345:

  • What are Non-interfering Two-polynomial Embeddings?
  • What is the Second Order Polynomial Encoding?
  • What are the parameters for low resolution? They don't seem to be in the report.

The Notion page that was linked above describing plaintext encodings is an old version, and we should instead reference the newer version which describes the more efficient encoding method included in the viability report. In particular:

For the last point, the low-resolution parameters are not a priority right now based on the likely high-level roadmap -- the main function of a low-res encoding would be for a low-res to high-res iterated filter, which approach we are planning to skip in favor of a direct step up to the HNSW search algorithm. The latter will most likely make use of a mid-res encoding scheme.

I'll update the main subtasks list for this issue to reflect these comments.

teor2345 commented 1 month ago

The only task left here is “integrate encoding and encryption” (#89) so I’m going to close this ticket.