Abstract:
With the development of multiple general secure multi-party computation protocols, frameworks and domain-specific languages built on these protocols are emerging in endlessly, but they all have problems on usability and are difficult in interaction with existing programming languages. Therefore, to solve these problems, a secure multi-party computation compiler construction scheme based on JSR 269 is designed. In this scheme, Java compiler compiled the annotated Java source code into a secure multi-party computation application through a compiler plugin, and compiled code could interact with the Java language. According to experiments and analysis, this scheme can retain the high-level language features of the Java language, and programmers can write secure multi-party computation application in a highly abstract level.