Fast and Accurate Function Evaluation with LUT over Integer-Based Fully Homomorphic Encryption

  • Conference paper
  • First Online:
Advanced Information Networking and Applications (AINA 2021)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 226))

Abstract

Fully homomorphic encryption (FHE), which is used to evaluate arbitrary functions in addition and multiplication operations via modular arithmetic (mod q) over ciphertext, can be applied in various privacy-preserving applications. However, big data is difficult to adopt owing to its high computational cost and the challenges associated with the efficient handling of complex functions such as log(x). To address these problems, we propose a method for handling any multi-input function using a lookup table (LUT) to replace the original calculations with array indexing operations over integer-based FHE. In this study, we extend our LUT-based method to handle any input values, i.e., including non-matched element values in the LUT, to match with a near indexed value and return an approximated output over FHE. In addition, we propose a technique for splitting the table to handle large integers for improved accuracy with only a slight increase in the execution time. For the experiments, we use the Microsoft/SEAL library, and the results show that our proposed method can evaluate a 16-bit to 16-bit function in 2.110 s and a 16-bit to 32-bit function in 2.268 s, thereby outperforming previous methods implemented via bit-wise calculation over FHE.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
EUR 29.95
Price includes VAT (France)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
EUR 160.49
Price includes VAT (France)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 210.99
Price includes VAT (France)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://github.com/microsoft/SEAL.

  2. 2.

    https://www.openmp.org/.

References

  1. Zhang, D.: Big data security and privacy protection. In: Proceedings of the 8th International Conference on Management and Computer Science (ICMCS 2018), pp. 275–278. Atlantis Press (2018)

    Google Scholar 

  2. Gentry, C.: Fully homomorphic encryption using ideal lattices. In: Proceedings of the Forty-First Annual ACM Symposium on Theory of Computing, pp. 169–178 (2009)

    Google Scholar 

  3. Fan, J., Vercauteren, F.: Somewhat practical fully homomorphic encryption. IACR Cryptol. ePrint Arch. 2012, 144 (2012)

    Google Scholar 

  4. Brakerski, Z.: Fully homomorphic encryption without modulus switching from classical GapSVP. LNCS, vol. 7417, pp. 868–886 (2012)

    Google Scholar 

  5. Gentry, C., Sahai, A., Waters, B.: Homomorphic encryption from learning with errors: conceptually-simpler, asymptotically-faster, attribute-based. LNCS, vol. 8042, pp. 75–92 (2013)

    Google Scholar 

  6. Brakerski, Z., Gentry, C., Vaikuntanathan, V.: (Leveled) fully homomorphic encryption without bootstrap**. ACM Trans. Comput. Theory (TOCT) 6(3), 1–36 (2014)

    Article  MathSciNet  Google Scholar 

  7. Boneh, D., Gentry, C., Halevi, S., et al.: Private database queries using somewhat homomorphic encryption. LNCS, vol. 7954, pp. 102–118 (2013)

    Google Scholar 

  8. Aguilar-Melchor, C., Barrier, J., Fousse, L., et al.: XPIR: private information retrieval for everyone. In: Proceedings on Privacy Enhancing Technologies, vol. 2, pp. 155–174 (2016)

    Google Scholar 

  9. Angel, S., Chen, H., Laine, K., et al.: PIR with compressed queries and amortized query. In: Proceedings of the 2018 IEEE Symposium on Security and Privacy (S&P), pp. 962–979. IEEE (2018)

    Google Scholar 

  10. Crawford, J.L.H., Gentry, C., Halevi, S., et al.: Doing real work with FHE: the case of logistic regression. In: Proceedings of the 6th Workshop on Encrypted Computing & Applied Homomorphic Cryptography, pp. 1–12 (2018)

    Google Scholar 

  11. Chillotti, I., Gama, N., Georgieva, M., et al.: TFHE: fast fully homomorphic encryption over the torus. J. Cryptol. 33(1), 34–91 (2020)

    Article  MathSciNet  Google Scholar 

  12. Brakerski, Z., Vaikuntanathan, V.: Lattice-based FHE as secure as PKE. In: Proceedings of the 5th Conference on Innovations in Theoretical Computer Science, pp. 1–12 (2014)

    Google Scholar 

  13. Chillotti, I., Gama, N., Georgieva, M., et al.: Faster fully homomorphic encryption: bootstrap** in less than 0.1 seconds. LNCS, vol. 10031, pp. 3–33 (2016)

    Google Scholar 

  14. Li, R., Ishimaki, Y., Yamana, H.: Privacy preserving calculation in cloud using fully homomorphic encryption with table lookup. In: Proceedings of the 2020 5th IEEE International Conference on Big Data Analytics (ICBDA), pp. 315–322. IEEE (2020)

    Google Scholar 

  15. Microsoft Research, Redmond, WA, Microsoft SEAL (release 3.2) (2019). https://github.com/Microsoft/SEAL

  16. Smart, N.P., Vercauteren, F.: Fully homomorphic SIMD operations. Des. Codes Crypt. 71(1), 57–81 (2014)

    Article  Google Scholar 

  17. Chor, B., Goldreich, O., Kushilevitz, E., et al.: Private information retrieval. In: Proceedings of IEEE 36th Annual Foundations of Computer Science, pp. 41–50. IEEE (1995)

    Google Scholar 

  18. Kushilevitz, E., Ostrovsky, R.: One-way trapdoor permutations are sufficient for non-trivial single-server private information retrieval. LNCS, vol. 1807, pp. 104–121 (2000)

    Google Scholar 

  19. Li, R., Ishimaki, Y., Yamana, H.: Fully homomorphic encryption with table lookup for privacy-preserving smart grid. In: Proceedings of the 2019 IEEE International Conference on Smart Computing (SMARTCOMP), pp. 19–24. IEEE (2019)

    Google Scholar 

Download references

Acknowledgement

This work was supported by JST CREST(Grant Number JPMJCR1503), and Japan and Japan–US Network Opportunity 2 by Commissioned Research of the National Institute of Information and Communications Technology (NICT), Japan.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ruixiao Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, R., Yamana, H. (2021). Fast and Accurate Function Evaluation with LUT over Integer-Based Fully Homomorphic Encryption. In: Barolli, L., Woungang, I., Enokido, T. (eds) Advanced Information Networking and Applications. AINA 2021. Lecture Notes in Networks and Systems, vol 226. Springer, Cham. https://doi.org/10.1007/978-3-030-75075-6_51

Download citation

Publish with us

Policies and ethics

Navigation