Secure wildcard pattern matching (WPM) allows the pattern holder to obtain the matched positions without revealing pattern and text information about both parties. However, standard secure WPM may have limitations in practical applications, as users may prefer to have access to the actual data of the match in many scenarios. Fortunately, secure wildcard pattern matching with query (SWMQ) extends standard secure WPM by allowing the pattern holder to obtain the matched positions and the actual data, which has important applications in many scenarios, such as electronic healthcare and gene matching. This also motivates the research of SWMQ in this paper. In this study, we focus on the efficient construction of SWMQ in the semihonest adversary setting. First, we propose two new primitives, hereafter referred to as shared wildcard pattern matching (Sh‐WPM) and choice‐sharing oblivious transfer (CSOT). Furthermore, we propose an SWMQ protocol via Shared WPM and CSOT. In addition, we evaluate the performance of SWMQ. More specifically, the running time in local area network and wide area network settings is less than 0.4 and 2 s, respectively, when the text length is
2
16 ${2}^{16}$ and the pattern length is
2
12 ${2}^{12}$. In fact, our evaluation results suggest that SWMQ is not only more broadly functional, but also comparable in efficiency to state‐of‐the‐art approaches.
Online medicine diagnosis based on pathological images has been regarded as a pervasive method due to the advances in electronic healthcare and Internet of Things (IoT), however, it also causes storage and computing stress on the local IoT devices. To solve this
Approximate pattern matching (APM) measures whether the Hamming distance between two strings is less than a threshold value. APM has been widely utilized, such as gene matching and facial recognition.Yet, the genetic data are privacy-sensitive, resulting that the owners are unwilling to share the raw data. This inspires us to explore how to securely perform APM. After revisiting threshold private set intersection (TPSI), we first propose and formalize a functionality named Boolean threshold private set intersection (BTPSI). The new proposed BTPSI primitive returns a Boolean value (0 or 1) to the user, rather than the actual elements in TPSI. We then construct a secure protocol for the BTPSI functionality with semihonest security. Besides, we first combine oblivious transfer and BTPSI to achieve the efficient construction of secure approximate pattern matching (SAPM) protocol in a semihonest model. Furthermore, we implement our SAPM protocol to demonstrate its real practicality.The performance result shows that when the text length is 2 20 and the pattern length is 2 10 , the total runtime is less than 3 s.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.