Skip to main content

A Secure and Efficient Smart Contract Execution Scheme

  • Conference paper
  • First Online:
  • 722 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 12406))

Abstract

As a core technology of the blockchain, the smart contract is receiving increasing attention. However, the frequent outbreak of smart contract security events shows that improving the security of smart contracts is essential. How to guarantee the privacy of contract execution and the correctness of calculation results at the same time is still an issue to be resolved. Using secure multi-party computation (SMPC) technology to implement smart contracts is considered to be one of the potential solutions. But in the existing SMPC based contract execution schemes, a problem has been ignored, that is, the attacker can perform the same process as the reconstructor to recover the secret, which leads to the leakage of users’ privacy. Therefore, in order to solve this problem in the process of smart contract operation, an improved homomorphic encryption algorithm is proposed in this paper, which has a relatively small public key size, short ciphertext length, and high encryption efficiency. Then, a contract execution scheme integrated with SMPC and homomorphic encryption (SMPC-HE for short) is further proposed, which is able to guarantee the privacy of contract execution and the correctness of the calculation results at the same time, and also makes smart contract execution fairer. Finally, our scheme is proved secure, efficient and has low space overhead by theory and experiment results.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Ali, M.S., et al.: IoT data privacy via blockchains and IPFS. In: Proceedings of the Seventh International Conference on the Internet of Things, pp. 1–7 (2017)

    Google Scholar 

  2. Andrychowicz, M., et al.: Secure multiparty computations on bitcoin. In: 2014 IEEE Symposium on Security and Privacy, pp. 443–458. IEEE (2014)

    Google Scholar 

  3. Barkol, O., Ishai, Y., Weinreb, E.: On \(d\)-multiplicative secret sharing. J. Cryptol. 23(4), 580–593 (2010). https://doi.org/10.1007/s00145-010-9056-z

    Article  MathSciNet  MATH  Google Scholar 

  4. Benaloh, J.C.: Secret sharing homomorphisms: keeping shares of a secret secret (extended abstract). In: Odlyzko, A.M. (ed.) CRYPTO 1986. LNCS, vol. 263, pp. 251–260. Springer, Heidelberg (1987). https://doi.org/10.1007/3-540-47721-7_19

    Chapter  Google Scholar 

  5. Bentov, I., Kumaresan, R.: How to use bitcoin to design fair protocols. In: Garay, J.A., Gennaro, R. (eds.) CRYPTO 2014. LNCS, vol. 8617, pp. 421–439. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-44381-1_24

    Chapter  Google Scholar 

  6. Coron, J.-S., Mandal, A., Naccache, D., Tibouchi, M.: Fully homomorphic encryption over the integers with shorter public keys. In: Rogaway, P. (ed.) CRYPTO 2011. LNCS, vol. 6841, pp. 487–504. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22792-9_28

    Chapter  Google Scholar 

  7. Crosby, M., Pattanayak, P., Verma, S., et al.: Blockchain technology: beyond bitcoin. Appl. Innov. 2(6–10), 71 (2016)

    Google Scholar 

  8. Pei, X., Sun, L., Li, X., et al.: Smart contract based multi-party computation with privacy preserving and settlement addressed. In: 2018 Second World Conference on Smart Trends in Systems, Security and Sustainability, pp. 133–139. IEEE (2018)

    Google Scholar 

  9. Plantard, T., et al.: Fully homomorphic encryption using hidden ideal lattice. IEEE Trans. Inf. Forensics Secur. 8(12), 2127–2137 (2013)

    Article  Google Scholar 

  10. Rivest, R.L., Adleman, L., Dertouzos, M.L., et al.: On data banks and privacy homomorphisms. Found. Secure Comput. 4(11), 169–180 (1978)

    MathSciNet  Google Scholar 

  11. Shamir, A.: How to share a secret. Commun. ACM 22(11), 612–613 (1979)

    Article  MathSciNet  Google Scholar 

  12. Szabo, N.: Smart contracts. Virtual School (1994)

    Google Scholar 

  13. Tang, D., Zhu, S., Cao, Y.: Faster fully homomorphic encryption scheme over integer. Comput. Eng. Appl. 48(28), 117–122 (2012)

    Google Scholar 

  14. Van Dijk, M., Gentry, C., Halevi, S., Vaikuntanathan, V.: Fully homomorphic encryption over the integers. In: Gilbert, H. (ed.) EUROCRYPT 2010. LNCS, vol. 6110, pp. 24–43. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-13190-5_2

  15. Wang, T., Ma, W., Luo, W.: Information sharing and secure multi-party computing model based on blockchain. Comput. Sci. 46(9), 162–168 (2019)

    Google Scholar 

  16. Xie, X.: An effectively fully homomorphic encryption over the integers. Master’s thesis, Shandong University (2014)

    Google Scholar 

  17. Yao, A.C.: Protocols for secure computations. In: 23rd Annual Symposium on Foundations of Computer Science, SFCS 1982, pp. 160–164. IEEE (1982)

    Google Scholar 

  18. Zhu, Y., et al.: Smart contract execution system over blockchain based on secure multi-party computation. J. Cryptol. Res. 6(2), 246–257 (2019)

    Google Scholar 

Download references

Acknowledgement

The authors acknowledge the support from National Key R&D Program of China under Grant No. 2017YFB1400700, National Natural Science Foundation of China under Grant No. 61772514 and Beijing Municipal Science & Technology Commission No. Z191100007119006.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rui Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, Z., Zhang, R., Li, P. (2020). A Secure and Efficient Smart Contract Execution Scheme. In: Ku, WS., Kanemasa, Y., Serhani, M.A., Zhang, LJ. (eds) Web Services – ICWS 2020. ICWS 2020. Lecture Notes in Computer Science(), vol 12406. Springer, Cham. https://doi.org/10.1007/978-3-030-59618-7_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-59618-7_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-59617-0

  • Online ISBN: 978-3-030-59618-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics