Skip to content

Latest commit

 

History

History
113 lines (77 loc) · 4.89 KB

he.md

File metadata and controls

113 lines (77 loc) · 4.89 KB

Homomorphic Encryption

tl;dr Homomorphic Encryption allows to perform calculations on encrypted data without decrypting it first.

About

Intros for non-cryptographers

Example HE cryptosystems

  • RSA cryptosystem (unbounded number of modular multiplications)
  • ElGamal cryptosystem (unbounded number of modular multiplications)
  • Goldwasser–Micali cryptosystem (unbounded number of exclusive or operations)
  • Benaloh cryptosystem (unbounded number of modular additions)
  • Paillier cryptosystem (unbounded number of modular additions)

See Wikipedia

Breakthrough Gentry's FHE

Ph.D. thesis by Craig Gentry https://crypto.stanford.edu/craig/craig-thesis.pdf

FHE more practical

  • Brakerski-Gentry-Vaikuntanathan (BGV, 2011) scheme, building on techniques of Brakerski-Vaikuntanathan
=> good for masking and integer arithmetic
  • The NTRU-based scheme by Lopez-Alt, Tromer, and Vaikuntanathan (LTV, 2012)
  • Brakerski/Fan-Vercauteren (BFV, 2012) scheme, building on Brakerski's scale-invariant cryptosystem
  • NTRU-based scheme by Bos, Lauter, Loftus, and Naehrig (BLLN, 2013), building on LTV and Brakerski's scale-invariant cryptosystem
  • Cheon-Kim-Kim-Song (CKKS, 2016) scheme.
    • Note that there were some issues with CCKS reported recently by Li and Micciancio (eprint report). In response, the HElib team published a list of mitigations.
=> floating point arithmetic => machine learning

Mathematics

Libraries

HElib

SEAL

Concrete

PALISADE

Intel Homomorphic Encryption Acceleration Library (HEXL)

Google C++ compiler

First steps to make FHE practical

In 2020, IBM Research conducted a project with a Brazilian Bank to implement a pilot using Homomorphic Encryption (HE) to a machine learning (ML) pipeline. Specifically they used HE in the ML for both the variable selection of the model generation and the actual prediction computation.

  • IBM Research, Hursley, UK and Banco Bradesco SA, Osasco, SP, Brasil (link)
  • Masters et al. " Towards a Homomorphic Machine Learning Big Data Pipeline for the Financial Services Sector" (eprint)