Previous Article in Journal
Dynamic Scaling Pollard’s P-1 Algorithm
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

EFKG: An Efficient and Fine-Grained Access Control Encrypted Knowledge Graph

1
The 30th Research Institute of China Electronics Technology Group Corporation, Chengdu 610041, China
2
China Communications Construction Company Ltd., Beijing 100088, China
3
Institute of Communication Technology, Dalian University of Technology, Dalian 116000, China
*
Author to whom correspondence should be addressed.
Cryptography 2026, 10(4), 58; https://doi.org/10.3390/cryptography10040058
Submission received: 16 June 2026 / Revised: 10 August 2026 / Accepted: 13 August 2026 / Published: 17 August 2026

Abstract

As knowledge graphs are increasingly applied in sensitive domains such as healthcare, ensuring data confidentiality and fine-grained access control over outsourced graph data has become critical. In this paper, we propose EFKG, an Efficient and Fine-grained Access Control Encrypted Knowledge Graph construction scheme that simultaneously achieves data confidentiality, fine-grained access control, and high-performance multi-hop search over encrypted knowledge graphs. Compared with existing approaches, EFKG not only supports efficient single-hop and multi-hop retrieval with O ( 1 ) complexity per hop, but also satisfies fine-grained access control requirements in multi-user settings. Regarding security, we rigorously prove that EFKG achieves L -adaptive security under the standard leakage function paradigm. Extensive experiments on real-world datasets confirm that EFKG achieves microsecond-level single-hop search and scalable multi-hop traversal, offering a superior trade-off between efficiency, security, and functionality.

1. Introduction

Knowledge graphs [1], as a predominant paradigm for representing and organizing structured knowledge, model complex relationships among entities in the form of triples ( s , p , o ) and have been widely deployed in core AI areas such as semantic search and recommendation systems. With the proliferation of cloud computing, outsourcing knowledge graphs to cloud servers to reduce local costs and enable data collaboration has become a mainstream trend. However, cloud servers are typically abstracted as “honest-but-curious” semi-trusted entities that may infer sensitive information from stored ciphertexts and query interaction patterns, posing severe threats to data confidentiality.
Secure outsourced knowledge graphs face two critical demands. The first is data and structural confidentiality—preventing the server from inferring sensitive insights such as entity associations from ciphertexts and access patterns. The second is fine-grained access control, which enables data owners to define differentiated policies based on user attributes and restrict access to specific sub-structures of the graph. Attribute-based encryption (ABE) is a desirable cryptographic primitive for achieving fine-grained control [2]. However, deeply integrating ABE with efficient searchable encryption (SE) without significantly sacrificing retrieval performance, while achieving both confidentiality and fine-grained control, remains a challenging technical problem.
Existing works still exhibit significant limitations in addressing the above challenges. First, traditional searchable encryption is mainly designed for flat document collections [3] and cannot natively support structured relational queries and multi-hop traversals over knowledge graphs. Second, for efficiency, most existing encrypted knowledge graph schemes adopt a single symmetric key [4,5,6], such that any authorized user can access the entire graph, entirely sacrificing fine-grained access control. Third, although some attribute-based searchable encryption schemes attempt to introduce fine-grained control [7], applying ABE to each individual triple independently leads to prohibitive ciphertext expansion and decryption overhead, rendering them impractical for large-scale graph data.
To overcome these limitations, this paper proposes EFKG, an Efficient and Fine-grained Access Control Encrypted Knowledge Graph construction scheme. The main contributions are as follows:
  • Efficient multi-hop search with fine-grained access control: We propose EFKG, an encrypted knowledge graph scheme that integrates fine-grained access control with efficient multi-hop search. By organizing the graph into subject-based linked lists and enforcing subject-level access policies via ABE, we construct secure indexes that underpin highly efficient retrieval.
  • Formal security model and rigorous proof: Based on standard cryptographic assumptions and the leakage function paradigm in searchable encryption, we rigorously prove that EFKG achieves L -adaptive security and provide a proof of correctness.
  • Extensive experimental validation: Experiments on real-world graph datasets show that EFKG achieves an excellent trade-off between query efficiency and storage overhead. Both index look-up and cross-subject jumps achieve constant time complexity, and the overall retrieval overhead is proportional to the size of the returned results, meeting practical deployment requirements.
The remainder of this paper is organized as follows: Section 2 reviews related work; Section 3 presents the system model and definitions; Section 4 details the construction of EFKG; Section 5 provides the security analysis; Section 6 evaluates the performance; finally, Section 7 concludes the paper and discusses future research directions.

2. Related Work

This section reviews three research directions most relevant to our work: searchable encryption, attribute-based encryption, and encrypted knowledge graphs.

2.1. Searchable Encryption

Searchable Symmetric Encryption (SSE) enables keyword search over encrypted data with high computational efficiency and has been extensively studied [8,9]. However, traditional SSE is designed for flat document collections and cannot natively support structured relational queries or multi-hop traversals over knowledge graphs. Chase and Kamara [10] pioneered structured encryption for complex data structures, and subsequent graph encryption schemes [11,12] have extended this direction, though accommodating complex graph topologies remains challenging. Dynamic SSE schemes with forward and backward privacy have also been proposed [9,13], but applying them to structural graph updates is non-trivial.

2.2. Attribute-Based Encryption

Attribute-based encryption (ABE), particularly Ciphertext-Policy ABE (CP-ABE) [2], enables fine-grained access control by embedding access policies into ciphertexts. Its applications in resource-constrained IoT environments and multi-authority cloud scenarios have been widely surveyed [14,15,16]. However, directly applying ABE to large-scale knowledge graphs faces severe efficiency bottlenecks due to ciphertext expansion and expensive bilinear pairing operations during decryption. Attribute-based searchable encryption (ABSE) schemes [7,16,17,18] attempt to combine the advantages of ABE and SSE, but remain oriented towards document-level keyword search and do not effectively decouple data retrieval from authorization verification for graph-structured data.

2.3. Encrypted Knowledge Graphs

Encrypted retrieval over knowledge graphs is an emerging interdisciplinary field. Early work by Cao et al. [19] studied privacy-preserving queries on encrypted graphs but relied on a single symmetric key without differentiated access control.
Subsequent research on encrypted graph queries has advanced in several directions: oblivious subgraph matching [11], shortest-distance and reachability queries [12,20,21,22], and privacy-preserving social-graph search [23,24]. Du et al. [25] further studied dynamic graph encryption with forward privacy. These schemes support rich query semantics but share a common limitation—any user with a valid trapdoor can access the entire retrieved subgraph, precluding fine-grained, subject-level access differentiation. Research on encrypted relational databases, exemplified by CryptDB [26], faces similar structural challenges without native graph-topology support.
In parallel, encrypted knowledge graph schemes specifically targeting triple-based graph structures have been developed. Xue et al. [4], Lin et al. [5], and Chen et al. [6] proposed structured encryption supporting multi-hop queries and, in the case of DSSE-KG, dynamic updates. However, all these schemes operate under a single symmetric key, granting any authorized user access to the entire graph and entirely forgoing attribute-level authorization. On the access control side, ABSE schemes [7,16] have introduced attribute-based encryption into searchable encryption for IoT and healthcare data sharing, but remain confined to document-level keyword search without extension to graph-structured data.
To provide a systematic overview of the landscape, Table 1 summarizes representative encrypted graph and knowledge graph schemes along three dimensions: multi-hop query support, fine-grained access control, and native knowledge graph capability.
As shown in Table 1, existing schemes either achieve multi-hop traversal under a single symmetric key without attribute-level authorization (e.g., Xue et al., Lin et al., Chen et al.), or introduce ABE for fine-grained access control but remain confined to document-level keyword search (Yin et al.). EFKG is the first scheme to simultaneously support efficient multi-hop traversal on knowledge graphs with fine-grained, subject-level access control.

3. Model and Definitions

To ensure rigor and consistency throughout the paper, this section provides unified definitions for the core symbols used throughout the scheme. Auxiliary symbols specific to the underlying linked-list construction will be defined as needed in Section 4. The global core symbols and their meanings are shown in Table 2.

3.1. System Model

The scheme involves four types of entities: a Trusted Authority, a Data Owner, a Cloud Server, and Authorized Users. The responsibilities and interactions of these entities are illustrated in Figure 1 and described as follows:
  • Trusted Authority (TA): Responsible for global system initialization, generating the ABE public parameters P P A B E , master secret key M S K A B E , and searchable encryption master keys K 1 , K 2 . TA issues ABE private keys S K A B E to users according to their attribute sets, and generates query trapdoors t d s on behalf of users. TA is assumed to be fully trusted.
  • Data Owner (DO): Possesses the original knowledge graph G . DO defines the access policy A s for each subject s, obtains encryption parameters from TA, performs encryption and index building locally, and outsources the resulting ciphertext structures and index to the cloud server.
  • Cloud Server (CS): Provides ciphertext storage and retrieval services. CS receives the ciphertexts uploaded by DO, responds to trapdoor queries from authorized users, executes the search protocol, and returns matching ciphertext results. CS follows the “honest-but-curious” semi-trusted assumption.
  • Authorized Users: Obtain ABE private keys S K A B E from TA. To query a subject, a user requests a trapdoor from TA, submits it to CS, and decrypts the returned results using their ABE private key to recover the plaintext triples.
Figure 1. EFKG system model.
Figure 1. EFKG system model.
Cryptography 10 00058 g001

3.2. Threat Model

This paper adopts the standard “honest-but-curious” threat model in the searchable encryption domain. Under this model, the cloud server CS faithfully follows the protocol to perform storage and query operations, but may attempt to infer additional sensitive information from the ciphertext data, query trapdoors, and response results it observes. Specific threat assumptions are as follows:
  • TA and DO are assumed to be fully trusted and will not leak any system master keys or plaintext data;
  • CS is a semi-trusted entity that honestly executes the protocol but attempts to analyze data and acquire extra knowledge.

3.3. Security Definition

The security of this scheme is formally defined based on the standard leakage function paradigm. Let G denote the knowledge graph and Q = ( q 1 , q 2 , , q t ) denote the query sequence. The leakage function L = ( L S e t u p , L Q u e r y ) is defined as follows:
Definition 1 (Leakage Function).
The leakage function consists of the following two components:
  • L S e t u p ( G ) = { | T s | } s S : the initialization phase only leaks the number of triples per subject, reflecting the macro-scale of the graph without revealing specific topological connections.
  • L Q u e r y ( G , Q ) = ( S P , A P ) : the query phase leaks the search pattern S P (revealing whether two queries target the same subject) and the access pattern A P (revealing the set of ciphertext identifiers returned by a query and the traversal path).
Beyond the explicitly defined leakage above, the scheme strictly protects the confidentiality of triple contents, the details of access policies, and the graph-structured information of non-queried subjects. Based on this, security is characterized by the indistinguishability between the real experiment and the ideal experiment:
  • Real Experiment Real A ( λ ) : The challenger runs S e t u p to generate parameters and sends them to the adversary A . A submits a challenge graph G * , the challenger runs B u i l d I n d e x to generate the real ciphertexts and returns them. Subsequently, the adversary adaptively issues trapdoor queries, and the challenger computes the real trapdoor responses. Finally, the adversary outputs a guess bit b.
  • Ideal Experiment Ideal A , S ( λ ) : The simulator S generates simulated ciphertexts only using the leakage information L S e t u p ( G * ) . During the query phase, S returns simulated trapdoors based solely on L Q u e r y . Finally, the adversary outputs a guess bit b.
Definition 2 ( L -Adaptive Security).
A searchable encrypted knowledge graph scheme is L -adaptively secure if for any probabilistic polynomial-time adversary A , there exists a polynomial-time simulator S such that the advantage of the adversary in distinguishing the real experiment from the ideal experiment is negligible:
Pr [ Real A ( λ ) = 1 ] Pr [ Ideal A , S ( λ ) = 1 ] negl ( λ ) .

3.4. Algorithm Definition

The EFKG scheme consists of the following six polynomial-time algorithms, defining the complete functional interface of the system:
  • S e t u p ( 1 λ ) ( P P A B E , M S K A B E , K 1 , K 2 ) : Executed by TA. Takes the security parameter as input and outputs ABE public parameters, master secret key, and two master keys.
  • K e y G e n ( M S K A B E , A ) S K A B E : Executed by TA. Takes the master secret key and a user’s attribute set A as input and outputs the user’s ABE private key.
  • B u i l d I n d e x ( G , P P A B E , K 1 , K 2 ) ( C T , E T , I T ) : Executed by DO. Takes the knowledge graph and encryption parameters as input and outputs the ciphertext table C T , ABE ciphertext table E T , and index table I T .
  • T r a p d o o r ( K 1 , K 2 , s ) t d s : Executed by TA. Takes the two master keys and a query subject s as input and outputs the search trapdoor t d s .
  • S e a r c h ( t d s , C T , E T , I T ) ( R , C ) : Executed by CS. Takes a trapdoor and the ciphertext tables as input and outputs the list of encrypted triples R and the corresponding set of ABE ciphertexts C .
  • D e c r y p t ( R , C , S K A B E ) T : Executed by the user. Takes ciphertext results, ABE ciphertexts, and the private key as input and outputs a set of plaintext triples T , or ⊥ (when permissions are insufficient).

4. Scheme Construction

This section elaborates on the construction details of the EFKG scheme. The core design philosophy is to achieve deep decoupling of retrieval and authorization as well as efficient graph traversal over ciphertexts. Specifically, we adopt the following key mechanisms:
  • Subject-based chain structure and hash binding: Triples with the same subject are organized into a linked list. Node pointers are encrypted via XOR with a hash derived from the current ciphertext and a random number, breaking the correlation between ciphertexts and achieving unlinkability.
  • Self-contained ciphertext multi-hop navigation: An encrypted multi-hop component is embedded in each linked-list node, encapsulating the complete trapdoor of the next-hop subject. This enables the server to perform constant-time cross-index jumps in the ciphertext space without user involvement.
  • Two-layer encryption architecture: Symmetric keys encrypt triple contents, and the symmetric keys are in turn encrypted by ABE. The server only performs lightweight retrieval and synchronously returns ABE ciphertexts, confining the expensive pairing operations to the user side.

4.1. Initialization and Key Generation

4.1.1. System Initialization

This algorithm is executed by TA. It takes the security parameter 1 λ as input and outputs the system public parameters and master keys. The specific steps are:
  • Run the ABE initialization algorithm to generate ABE public parameters P P A B E and master secret key M S K A B E ;
  • Randomly select two symmetric master keys K 1 , K 2 $ { 0 , 1 } λ ;
  • Output system parameters ( P P A B E , M S K A B E , K 1 , K 2 ) . Here, P P A B E is public to all entities, M S K A B E is kept secret by TA, and  K 1 , K 2 are distributed to the DO via secure channels.

4.1.2. User Key Generation

When a new user joins the system, TA verifies the user’s attribute set A , runs A B E . K e y G e n ( M S K A B E , A ) to generate the corresponding ABE private key S K A B E , and distributes it via a secure channel.

4.2. Knowledge Graph Encryption

This algorithm is executed by the DO. It takes the knowledge graph G , ABE public parameters P P A B E , and master keys ( K 1 , K 2 ) as input, and outputs three ciphertext tables: the triple ciphertext table C T , the ABE ciphertext table E T , and the index table I T . The detailed construction is shown in Algorithm 1.
Algorithm 1  B u i l d I n d e x ( G , P P A B E , K 1 , K 2 )
1: Initialize empty tables C T , E T , I T
2: for each distinct subject s G   do
3:    Randomly generate content key k s $ { 0 , 1 } λ
4:    Determine access policy A s for subject s, compute ABE ciphertext C s = A B E . E n c ( P P A B E , A s , k s )
5:    Store C s in E T , record its physical address a d d r s A B E
6:    Retrieve the set of triples with subject s: T s = { ( s , p , o ) i } i = 1 n , where n = | T s |
7:     for  i = 1 to n  do
8:      Encrypt triple: c t i = S y m . E n c k s ( ( s , p , o ) i )
9:      Randomly generate mask seed: r i $ { 0 , 1 } λ
10:    Compute local hash key: K i = H ( c t i P R F ( K 1 , s ) r i )
11:    if  i = n   then
12:        Compute next node address ciphertext: n c i = 0 λ K i
13:     else
14:        Compute next node address ciphertext: n c i = a d d r i + 1 K i
15:     end if
16:     if object o is a subject in G   then
17:        Compute next-hop trapdoor: T o = ( P R F ( K 1 , o ) , P R F ( K 2 , o ) )
18:        Compute multi-hop ciphertext: h c i = T o K i
19:     else
20:        Pad with random string: h c i $ { 0 , 1 } | T o |
21:     end if
22:     Create linked-list node N i = ( c t i , r i , n c i , h c i ) , store it at address a d d r i in C T
23:    end for
24:    Set linked-list head address: h e a d s = a d d r 1
25:    Compute index value: I s = ( h e a d s a d d r s A B E ) P R F ( K 2 , s )
26:    Insert key-value pair ( P R F ( K 1 , s ) , I s ) into index table I T
27: end for
28: return ( C T , E T , I T )
The structures and security properties of the three generated ciphertext tables, as illustrated in Figure 2, are analyzed below:
  • Triple ciphertext table C T : Stores all encrypted linked-list nodes. Each node N i contains four fields: ciphertext c t i , plaintext random number r i , encrypted pointer n c i , and multi-hop component h c i . Since the pointer mask K i is generated by hashing the ciphertext itself together with a random number, masks of different nodes are mutually independent. The server cannot establish cross-node correlations, ensuring ciphertext unlinkability.
  • ABE ciphertext table E T : Uses physical address a d d r s A B E as the key to store the ABE ciphertext C s corresponding to subject s. This table is physically separated from C T , which is key to decoupling retrieval from authorization.
  • Index table I T : The key is P R F ( K 1 , s ) and the value is the pair ( h e a d s a d d r s A B E ) encrypted via XOR with P R F ( K 2 , s ) . The server must possess both components of the trapdoor to locate and decrypt the index entry.
Figure 2. Schematic diagram of the EFKG ciphertext structure.
Figure 2. Schematic diagram of the EFKG ciphertext structure.
Cryptography 10 00058 g002

4.3. Trapdoor Generation

When an authorized user needs to query subject s, the user submits a request to the TA. The TA computes the dual-key trapdoor for subject s:
t d s = P R F ( K 1 , s ) , P R F ( K 2 , s )
and sends t d s to the CS via a secure channel. The two parts of the trapdoor respectively correspond to the query key for the index table and the decryption mask for the index value.
A natural concern is that routing every query through the TA creates a single-point bottleneck. We argue that this design is both necessary and justifiable: trapdoor generation requires the master keys K 1 , K 2 , and delegating them to the DO or individual users would create additional compromise points. Meanwhile, the per-trapdoor cost is only two PRF evaluations (sub-microsecond), so the practical bottleneck is the secure channel, not computation. This overhead can be mitigated by offline batch pre-generation for frequently queried subjects, or by caching trapdoors at the cloud server in accordance with the search pattern leakage already admitted in L Q u e r y .

4.4. Search

Upon receiving the trapdoor t d s , the CS executes the ciphertext retrieval protocol. This protocol consists of two sub-processes: single-hop retrieval and multi-hop traversal.

4.4.1. Single-Hop Retrieval

Single-hop retrieval locates the linked list of the target subject and extracts all ciphertexts, as shown in Algorithm 2.
Algorithm 2  S e a r c h ( t d s , I T , C T , E T )
1: Parse trapdoor t d s = ( t 1 , t 2 ) , where t 1 = P R F ( K 1 , s ) , t 2 = P R F ( K 2 , s )
2: Look up t 1 in I T to obtain index value I s
3: Decrypt index entry: ( h e a d s a d d r s A B E ) = I s t 2
4: Read ABE ciphertext C s from E T using a d d r s A B E
5: Initialize result set R , current address c u r h e a d s
6: while  c u r 0 λ do
7:      Read node N i = ( c t i , r i , n c i , h c i ) from C T
8:       R R { c t i }
9:      Recover local hash key: K i = H ( c t i t 1 r i )
10:    Decrypt next node pointer: n e x t = n c i K i
11:    Update c u r n e x t
12: end while
13: return ( R , C s )
In single-hop retrieval, the server first uses the first half of the trapdoor to locate the index and the second half to decrypt and obtain the head of the linked list and the ABE ciphertext address. During linked-list traversal, because  K i depends on the preceding ciphertext and a random nonce, the server can only decrypt sequentially and cannot predict the length of the list or jump arbitrarily, thereby hiding the local topological structure of the graph.

4.4.2. Multi-Hop Query

Multi-hop queries over knowledge graphs are realized through the multi-hop component h c i within nodes. During linked-list traversal, each node may carry a trapdoor pointing to the object subject of its triple. The server decrypts the h c i field of every traversed node, probes the index table I T , and collects all valid next-hop subjects into a frontier. The next hop then performs breadth-first expansion from all subjects in the frontier simultaneously, naturally supporting branching graph traversals without any user interaction. The detailed procedure is shown in Algorithm 3.
The core advantage of the BFS-based multi-hop traversal is twofold. First, each node requires only one XOR operation ( h c i K i ) to recover a full trapdoor candidate ( P R F ( K 1 , o ) , P R F ( K 2 , o ) ) , whose format is identical to a valid search trapdoor. Second, by processing all nodes in the current linked list and collecting every valid next-hop subject into the frontier, the algorithm naturally supports branching graph traversals—when a subject links to multiple object subjects, all branches are explored in parallel at the next hop. This design achieves efficient graph navigation over ciphertexts while preserving the complete multi-hop semantics of knowledge graph queries, and significantly reduces the round-trip latency compared with schemes that require per-hop user involvement.
Algorithm 3   M u l t i H o p S e a r c h ( t d s , h , I T , C T , E T )
1: Initialize overall result set R , ABE ciphertext set C
2: Initialize frontier F { t d s }
3: for  j = 1 to h do
4:     Initialize next frontier F n e x t
5:     for each t d F   do
6:      Parse t d = ( t 1 , t 2 )
7:      Look up t 1 in I T to obtain I
8:      Decrypt index entry: ( h e a d a d d r A B E ) = I t 2
9:      Read ABE ciphertext C from E T using a d d r A B E
10:        C C { C }
11:        c u r h e a d
12:       while  c u r 0 λ   do
13:           Read node N i = ( c t i , r i , n c i , h c i ) from C T
14:            R R { c t i }
15:            K i H ( c t i t 1 r i )
16:            t d t e m p h c i K i
17:           Parse t d t e m p = ( t 1 , t 2 )
18:           if  t 1 exists in I T   then
19:          F n e x t F n e x t { t d t e m p }
20:           end if
21:            n e x t n c i K i
22:            c u r n e x t
23:       end while
24:     end for
25:     if  F n e x t =   then
26:       break {No reachable subject in next hop}
27:     end if
28:     F F n e x t
29: end for
30: return ( R , C )

4.5. Decryption

After receiving ( R , C ) returned by the server, the user executes Algorithm 4 to recover the plaintext triples. This process ensures the enforcement of fine-grained access control.
Algorithm 4   D e c r y p t ( R , C , S K A B E )
1: Initialize plaintext set T
2: for each C s C   do
3:    Attempt ABE decryption: k s = A B E . D e c ( S K A B E , C s )
4:    if  k s     then
5:    for each c t R   do
6:           Attempt symmetric decryption: ( s , p , o ) = S y m . D e c k s ( c t )
7:           if decryption succeeds and integrity check passes then
8:          T T { ( s , p , o ) }
9:           end if
10:       end for
11:       break {Decryption for current subject completed}
12:    end if
13: end for
14: return  T
Due to the two-layer encryption architecture, even if a user obtains all ciphertext triples associated with a given subject, the user cannot recover the content key k s unless their ABE private key satisfies policy A s , and thus cannot decrypt any plaintext information. This enables EFKG to enforce fine-grained access control precisely at the subject level.

5. Security Analysis

Based on the security model defined in Section 3, this section presents a formal analysis and proof of the security of the EFKG scheme. We first provide the leakage function definition required for the security proof, then state the security theorem, and rigorously prove that the scheme achieves standard L -adaptive security by constructing a polynomial-time simulator.

5.1. Leakage Function Definition

According to the general security definitions in the searchable encryption domain, the security of the scheme is bounded by the leakage function L . The leakage functions involved in this scheme are defined as follows:
Definition 3 (Leakage Function L S e t u p ).
Given the security parameter λ and the knowledge graph G , L S e t u p ( G ) = { | T s | } s S . That is, the initialization phase only leaks the number of triples corresponding to each subject s. This information reflects the basic topological scale of the knowledge graph but does not reveal specific entity contents, relationship types, or graph connectivity details.
Definition 4 (Leakage Function L Q u e r y ).
Given the security parameter λ, the knowledge graph G , and the query subject s, L Q u e r y ( G , s ) = ( S P , A P ) , where
  • Search Pattern: Reveals whether the current query is a repeated query (i.e., whether the queried subject s has appeared in the historical query sequence).
  • Access Pattern: Reveals the set of encrypted triple identifiers returned by the query and the corresponding linked-list traversal order.
This leakage conforms to the general setting of standard searchable encryption schemes.

5.2. Security Theorem

Theorem 1 ( L -Adaptive Security).
Assume that the pseudorandom function P R F is secure, the symmetric encryption scheme S y m is IND-CPA secure, the attribute-based encryption scheme A B E is IND-CPA secure, and the hash function H is secure under the random oracle model. Then the proposed EFKG scheme is L -adaptively secure under the leakage function L = ( L S e t u p , L Q u e r y ) defined above.
Specifically, for any probabilistic polynomial-time (PPT) adversary A , there exists a polynomial-time simulator S such that the advantage of the adversary in distinguishing the real experiment Real A ( λ ) from the ideal experiment Ideal A , S ( λ ) is negligible.

5.3. Security Proof

Proof of Theorem 1.
We prove the security of the scheme by constructing a polynomial-time simulator S . The simulator S only utilizes the output of the leakage functions L S e t u p and L Q u e r y to generate a view that is indistinguishable from the real execution. The simulation process is as follows:
1. Simulating the ABE Ciphertext Table E T . The simulator S receives the leakage information L S e t u p ( G ) = { | T s | } s S . For each subject s in the knowledge graph, S performs the following operations:
  • Randomly select an element C s C A B E from the ABE ciphertext space.
  • Store C s in the simulated ABE ciphertext table E T , and record its simulated address a d d r A B E .
Since the underlying ABE scheme satisfies IND-CPA security, and in the real scheme the ciphertext C s is the encryption of the content key k s under the access policy A s , without knowing the master secret key and the plaintext key, the random ciphertext C s generated by the simulator is computationally indistinguishable from the real ciphertext C s .
2. Simulating the Triple Ciphertext Table C T and Index Table I T . The simulator S uses the leakage information | T s | (i.e., the number of triples for each subject s) to construct simulated linked-list structures. For each subject s:
  • Generate simulated trapdoor components: S randomly picks two independent random strings k s , m s { 0 , 1 } λ from the key space, serving as the simulated values of P R F ( K 1 , s ) and P R F ( K 2 , s ) in the real scheme, respectively.
  • Build simulated linked list L s : Generate a simulated linked list containing | T s | nodes. For the i-th node N i in the linked list: randomly pick a string c t i { 0 , 1 } | c t | as the simulated encrypted triple, and a random number r i { 0 , 1 } λ . By the IND-CPA security of S y m , a random string is indistinguishable from the real ciphertext. Randomly generate the simulated next-pointer ciphertext n c i { 0 , 1 } | a d d r | and the simulated multi-hop component ciphertext h c i { 0 , 1 } | T o | . To ensure that the server can correctly traverse the simulated linked list during queries (satisfying the access pattern A P ), S programs the random oracle H. S computes a local hash key K i and programs it as H ( c t i k s r i ) : = K i , such that n c i = a d d r i + 1 K i and h c i = T n e x t K i (where T n e x t is the simulated trapdoor component corresponding to the next-hop subject). Since in the ideal experiment S can perfectly control the output of H, the logical links between the simulated nodes are consistent with the real linked-list traversal process.
  • Simulate index entry: S computes the simulated index value I s = ( h e a d s a d d r A B E ) m s , and inserts the key-value pair ( k s , I s ) into the simulated index table I T .
3. Simulating Trapdoor Generation. When the adversary initiates a query for subject s, the simulator S uses the information provided by the leakage function L Q u e r y (especially the search pattern S P ) to generate simulated trapdoors:
  • If subject s is queried for the first time, S returns the previously generated simulated tuple t d s = ( k s , m s ) for this subject.
  • If subject s has been queried before, according to the search pattern S P , S must return the exact same trapdoor t d s = ( k s , m s ) as the previous query.
In the real scheme, the trapdoor t d s is generated by pseudorandom functions, i.e., t d s = ( P R F ( K 1 , s ) , P R F ( K 2 , s ) ) . Due to the security of P R F , its output is indistinguishable from truly random strings. Therefore, the random tuple ( k s , m s ) generated by the simulator is indistinguishable from the real trapdoor t d s .
4. Indistinguishability Analysis. In summary, the indistinguishability between the real experiment and the ideal experiment relies on the following computational assumptions and cryptographic properties:
  • IND-CPA security of A B E : Guarantees that the real ciphertext C s in the E T table is indistinguishable from the random element C s generated by the simulator.
  • IND-CPA security of S y m : Guarantees that the triple ciphertext c t i in the C T table is indistinguishable from the random string c t i .
  • Security of P R F : Guarantees the pseudorandomness of the location key ( P R F ( K 1 , s ) vs. k s ) and the decryption mask ( P R F ( K 2 , s ) vs. m s ) in the index table I T , making the encrypted index entries indistinguishable.
  • Random Oracle Model: Guarantees the security of the linked-list pointer and multi-hop component masks ( K i vs. K i ). In the real scheme, K i depends on the ciphertext and a random number and behaves as a pseudorandom string; in the ideal experiment, S endows it with perfect logical consistency by programming H. Both exhibit the same distribution from the adversary’s perspective.
Since the simulated ciphertext tables ( C T , E T , I T ) and the simulated trapdoor t d s generated by the simulator S are computationally indistinguishable from the outputs of the real world, for any PPT adversary, its advantage in distinguishing the real experiment from the ideal experiment is negligible. The theorem is proved. □

6. Performance Evaluation

To evaluate the practical performance of the EFKG scheme, we implemented all algorithms in C++ on a Linux platform. All tests ran in single-threaded mode, except for the multi-threading scalability experiment reported at the end of Section 6.1. The detailed experimental environment configuration is summarized in Table 3.
To comprehensively evaluate the scheme on knowledge graphs of varying scales and structures, we selected four real-world datasets ranging from thousands to millions of entities for benchmarking, and compared EFKG against the DSSE-KG scheme [6] across all metrics. The dataset characteristics are shown in Table 4.
The datasets span three orders of magnitude in entity count and cover both sparse graphs (Email-EuAll, WikiTalk) and dense graphs (Wiki-Vote, Email-Enron), representing two typical real-world knowledge graph scenarios.

6.1. Index Construction Performance

BuildIndex is the most computationally expensive phase in the EFKG scheme, requiring one ABE per entity. Its time complexity is O ( N e · T ABE + N t · T sym ) , where N e is the number of entities, N t is the number of triples, T ABE 6 ms / entity is the unit ABE time for a 1-attribute policy, and T sym 0.9 μ s / triple is the unit symmetric encryption time. Since T ABE T sym , the construction time is dominated by ABE. Figure 3 compares the index construction time between EFKG and DSSE-KG across the four datasets. The time is presented in minutes on a logarithmic scale.
As shown in Figure 3, EFKG’s construction time is 33×–265× slower than DSSE-KG—the price of supporting fine-grained access control. The gap widens on entity-dense datasets because ABE (≈6 ms/entity) dominates the construction cost: on WikiTalk (2.39 M entities), the measured 3.7 h build time closely matches the theoretical ABE cost. However, BuildIndex is a one-time offline operation, and each entity’s ABE is inherently independent, making this phase embarrassingly parallel. To validate parallel scaling, we benchmarked multi-threaded BuildIndex on Wiki-Vote using OpenMP with 1–8 threads (3 runs per configuration), as reported in Table 5 and Figure 4.
As shown in Table 5, BuildIndex achieves a 1.88× speedup at 2 threads and 2.97× at 4 threads, confirming near-linear scaling up to the physical core count of the test platform (i5-1135G7, 4C/8T). Beyond 4 threads, hyper-threading yields diminishing returns (3.42× at 8 threads), limited by memory bandwidth contention during concurrent ABE. Extrapolating to a 16-core server, the 3.7 h WikiTalk build would achieve 8–10× speedup, well under 30 min.

6.2. Search Performance

The core characteristic of EFKG search is that it relies solely on lightweight cryptographic operations (SHA-256 and XOR), completely avoiding expensive pairing operations. Single-hop search time depends only on the linked-list length of the target subject and is independent of the total knowledge graph scale:
T search = L · t node
where L = N t / N e is the average linked-list length and t node 0.40 μ s is the time to traverse a single linked-list node (including one SHA-256 hash, one XOR operation, and one hash table lookup). DSSE-KG, by contrast, requires AES-256-CTR keystream generation per node traversal, yielding a unit cost of approximately 1.01 μ s . Figure 5 presents the single-hop search latency comparison on a linear scale. EFKG achieves a speedup of 2.65× to 5.06× relative to DSSE-KG across all datasets.
Sparse graphs are particularly efficient: Email-EuAll and WikiTalk achieve search latencies of 2.58 μ s and 2.30 μ s , respectively. Even on the densest graph Wiki-Vote ( L = 14.57 ), EFKG search takes only 8.26 μ s —approximately 460× faster than the ABE decryption cost. This confirms that EFKG’s two-layer design successfully isolates expensive pairing operations from the search path.

6.3. Multi-Hop Retrieval Performance

Multi-hop retrieval is a distinctive capability of encrypted knowledge graphs, enabling traversal across entity relationships. The worst-case number of nodes visited in an h-hop retrieval is:
N visited = i = 1 h L i
When L > 1 , the traversal cost grows exponentially with the number of hops. EFKG’s multi-hop search leverages the h c field embedded in each linked-list node to recover the trapdoor for the next-hop subject with O ( 1 ) overhead per node, enabling efficient BFS-style expansion. Figure 6 compares the 1-hop, 2-hop, and 3-hop retrieval latencies between EFKG and DSSE-KG on each dataset (note the logarithmic y-axis).
The experimental results reveal three key findings:
(1) EFKG’s advantage amplifies with hop count. On WikiTalk, the speedup jumps from 4.50× at 1 hop to 198.81× at 2 hops and 191.44× at 3 hops, because the per-node traversal cost advantage (0.40 μ s vs. 1.01 μ s ) is multiplied by the exponentially growing number of visited nodes.
(2) Sparse graphs exhibit outstanding multi-hop efficiency. Email-EuAll ( L = 1.58 ) and WikiTalk ( L = 2.10 ) achieve 3-hop latencies of 4.37 ms and 14.15 ms, respectively, making practical multi-hop queries entirely feasible on communication and social network graphs.
(3) Dense graphs face exponential fan-out challenges. Wiki-Vote ( L = 14.57 ) traverses approximately 3320 nodes at 3 hops (5.69 ms, a 32.58× speedup over DSSE-KG), while Email-Enron ( L = 10.02 ) reaches 21.53 ms—at the edge of real-time acceptability. In practice, hop limits or build-time pruning strategies can control traversal costs on dense subgraphs.

6.4. Storage Overhead

Ciphertext storage consists of three components: the CT table (encrypted triple nodes), the ET table (ABE ciphertexts), and the IT table (index entries). The per-element storage breakdown is detailed in Table 6.
The 153 B CT node comprises the four fields of each linked-list node N i = ( c t i , r i , n c i , h c i ) defined in Algorithm 1, with r i already included in the per-triple total.
The total ciphertext size is given by:
S EFKG = N t · 153 + N e · ( 422 + 64 ) bytes
For comparison, DSSE-KG’s storage comprises four structures: SA (184 B/triple), ST (86 B/entity), UT (40 B/triple), and Enc (41 B/triple), totaling N t · 265 + N e · 86 bytes. Table 7 provides a detailed breakdown of EFKG’s storage composition across the four benchmark datasets, and Table 8 compares the total storage between EFKG and DSSE-KG.
Several observations emerge:
(1) ABE amortization effect. On dense graphs (Wiki-Vote, L = 14.57 ), each 422 B ABE ciphertext is amortized over 14.57 triples (≈29 B/triple), yielding a modest 16.26× expansion. On sparse graphs (Email-EuAll, L = 1.58 ), each triple bears ≈267 B of ABE overhead, driving expansion to 34.16×.
(2) Density-dependent cross-scheme comparison. EFKG is more storage-efficient on dense graphs (71–74% of DSSE-KG’s storage) because its CT node (153 B/triple) is more compact than DSSE-KG’s SA entry (184 B/triple). On sparse graphs, the fixed ABE cost dominates, and EFKG exceeds DSSE-KG by 24–40%.
(3) Practical viability. WikiTalk (2.4 M entities, 5 M triples) requires approximately 2.07 GB, readily accommodated by modern servers. The CT, ET, and IT tables can be deployed independently, with CT loaded on demand during search and ET accessed only at decryption. Extrapolating to soc-LiveJournal1 (69 M triples, 4.85 M entities), estimated storage is approximately 12.9 GB—within a single commodity server.

6.5. Discussion and Comparison with Existing Work

Comparing EFKG against DSSE-KG across all evaluation dimensions reveals a consistent trade-off. In terms of construction performance, EFKG is 33×–265× slower than DSSE-KG due to the per-entity ABE cost; however, this is a one-time offline operation, and our multi-threading experiment (Table 5) confirms near-linear parallel scalability that can reduce the gap to practical levels on multi-core hardware. In terms of search performance, EFKG achieves a 2.65×–5.06× speedup over DSSE-KG because its per-node traversal relies on lightweight SHA-256 and XOR operations (0.40 μ s /node) rather than AES-256-CTR keystream generation (1.01 μ s /node). This advantage amplifies dramatically in multi-hop scenarios: the per-node cost differential is multiplied by the exponentially growing number of visited nodes, yielding up to 191× speedup at 3 hops on WikiTalk. In terms of storage, EFKG is more compact on dense graphs ( L > 3.54 ) where the ABE overhead is well amortized, while DSSE-KG holds an advantage on sparse graphs where the fixed per-entity ABE cost dominates. Overall, EFKG trades a one-time construction cost for (i) persistent search acceleration across all query types, (ii) fine-grained, subject-level access control absent from DSSE-KG, and (iii) storage efficiency on the moderate-to-dense graphs most common in real-world knowledge graph applications.
These results also bound the scheme’s applicability. EFKG is best suited to moderately dense graphs ( L 2 ) where access control is required and the search speedup over DSSE-KG is most pronounced; for extremely sparse graphs the ABE overhead may favor non-authorizing schemes, and for very dense hub-dominated graphs the exponential multi-hop fan-out (Section 6.3) suggests practical deployment with hop limits.

7. Conclusions

To address the challenge of simultaneously achieving retrieval efficiency and fine-grained access control in outsourced knowledge graphs, this paper proposes EFKG, an efficient fine-grained access control encrypted knowledge graph construction scheme. By designing a subject-based linked-list structure and a two-layer encryption mechanism, the scheme achieves deep decoupling between subject-level access control and ciphertext retrieval. Concurrently, the embedded self-contained multi-hop navigation components enable the cloud server to perform constant-time cross-subject jumps in the ciphertext space, natively supporting efficient graph traversal. Rigorous security proofs and experiments on real-world datasets demonstrate that EFKG achieves excellent retrieval efficiency and practical value while ensuring L -adaptive security.
In summary, the key innovations of EFKG are threefold. First, the subject-based linked-list structure organizes triples of the same subject into a hash-chained sequence with XOR-masked pointers, enforcing subject-level ABE access policies while keeping inter-node correlations hidden from the server. Second, the self-contained ciphertext navigation mechanism embeds the complete trapdoor of the next-hop subject within each linked-list node, enabling the cloud server to perform constant-time cross-subject jumps during BFS traversal without any per-hop user interaction. Third, the two-layer encryption architecture—symmetric encryption for triple contents and ABE for content keys—decouples lightweight server-side retrieval from expensive client-side pairing operations, ensuring that the most frequent operation (search) remains at the microsecond level irrespective of graph scale.
While EFKG demonstrates a favorable balance among efficiency, security, and functionality, several promising directions remain for future work: (i) extending the scheme to support dynamic ciphertext-graph updates with provable forward and backward privacy, potentially via append-only index structures with versioned masks; (ii) investigating predicate-level ultra-fine-grained access control to enable authorization at finer granularity than the subject level; (iii) designing practical attribute and content-key revocation protocols, possibly leveraging proxy re-encryption to offload ciphertext updates to the cloud server without exposing content keys; and (iv) evaluating more complex graph query primitives beyond multi-hop traversal, such as path queries and subgraph pattern matching over encrypted knowledge graphs.

Author Contributions

Conceptualization, G.Y. and Y.Z.; methodology, G.Y., J.G. and Y.Z.; software, G.Y. and H.Z.; validation, G.Y., H.Z. and B.T.; formal analysis, G.Y. and J.G.; investigation, G.Y. and B.T.; resources, Y.Z. and J.G.; data curation, G.Y. and H.Z.; writing—original draft preparation, G.Y.; writing—review and editing, G.Y., J.G., H.Z. and Y.Z.; visualization, G.Y. and H.Z.; supervision, Y.Z. and J.G.; project administration, Y.Z.; funding acquisition, Y.Z. and J.G. All authors have read and agreed to the published version of the manuscript.

Funding

The work was partially supported by the Sichuan Science and Technology Innovation Talent Program under Grant No. 2024JDRC0007, the National Natural Science Foundation of China under Grant No. U22B200169, and the National Key Laboratory of Security Communication Foundation under Grant No. 6142103022209.

Data Availability Statement

The datasets used in this study are publicly available real-world graph datasets. The experimental code and processed data are available from the corresponding author upon reasonable request.

Acknowledgments

The authors would like to thank the anonymous reviewers for their valuable comments and suggestions.

Conflicts of Interest

Yue Zhao, Bo Tian, Hao Zhang, and Guangqiang Yao were employed by the 30th Research Institute, China Electronics Technology Group Corporation. Jincheng Guo was employed by Dalian University of Technology, China Communications Construction Company. The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as potential conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ABEAttribute-Based Encryption
BFSBreadth-First Search
CP-ABECiphertext-Policy Attribute-Based Encryption
CSCloud Server
DOData Owner
EFKGEfficient and Fine-grained Access Control Encrypted Knowledge Graph
IND-CPAIndistinguishability under Chosen-Plaintext Attack
PPTProbabilistic Polynomial-Time
PRFPseudorandom Function
SESearchable Encryption
SSESearchable Symmetric Encryption
TATrusted Authority

References

  1. Hogan, A.; Blomqvist, E.; Cochez, M.; d’Amato, C.; de Melo, G.; Gutierrez, C.; Kirrane, S.; Gayo, J.E.L.; Navigli, R.; Neumaier, S.; et al. Knowledge graphs. ACM Comput. Surv. 2021, 54, 1–37. [Google Scholar] [CrossRef] [Scilit]
  2. Bethencourt, J.; Sahai, A.; Waters, B. Ciphertext-policy attribute-based encryption. In Proceedings of the 2007 IEEE Symposium on Security and Privacy (SP); IEEE: Piscataway, NJ, USA, 2007; pp. 321–334. [Google Scholar]
  3. Curtmola, R.; Garay, J.; Kamara, S.; Ostrovsky, R. Searchable symmetric encryption: Improved definitions and efficient constructions. In Proceedings of the 13th ACM Conference on Computer and Communications Security (CCS), Alexandria, VA, USA, 30 October–3 November 2006; pp. 79–88. [Google Scholar]
  4. Xue, Y.; Chen, L.; Mu, Y.; Zeng, L.; Rezaeibagha, F.; Deng, R.H. Structured encryption for knowledge graphs. Inf. Sci. 2022, 605, 43–70. [Google Scholar] [CrossRef] [Scilit]
  5. Lin, Q.; Teng, F.; Tian, B.; Zhao, Y.; Zhu, J.y.; Feng, L. An encrypted knowledge graph storage and retrieval scheme based on searchable encryption. Comput. Eng. Sci. 2023, 45, 66. [Google Scholar]
  6. Chen, Z.; Zhao, Y.; Teng, F.; Hu, J.; Tian, B.; Zhang, H. Dynamic searchable symmetric encrypted knowledge graph. In Proceedings of the 2024 16th International Conference on Communication Software and Networks (ICCSN); IEEE: Piscataway, NJ, USA, 2024; pp. 20–27. [Google Scholar]
  7. Yin, H.; Zhang, W.; Deng, H.; Qin, Z.; Li, K. An attribute-based searchable encryption scheme for cloud-assisted IIoT. IEEE Internet Things J. 2023, 10, 11014–11023. [Google Scholar] [CrossRef] [Scilit]
  8. Li, F.; Ma, J.; Miao, Y.; Liu, X.; Ning, J.; Deng, R.H. A survey on searchable symmetric encryption. ACM Comput. Surv. 2024, 56, 1–42. [Google Scholar] [CrossRef] [Scilit]
  9. Liu, Y.; Watanabe, Y.; Shikata, J. Forward and backward private dynamic searchable encryption with better space efficiency. In Proceedings of the 2023 57th Annual Conference on Information Sciences and Systems (CISS); IEEE: Piscataway, NJ, USA, 2023; pp. 1–6. [Google Scholar]
  10. Chase, M.; Kamara, S. Structured encryption and controlled disclosure. In Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security; Springer: Berlin/Heidelberg, Germany, 2010; pp. 577–594. [Google Scholar]
  11. Wang, S.; Zheng, Y.; Jia, X.; Huang, H.; Wang, C. OblivGM: Oblivious attributed subgraph matching as a cloud service. IEEE Trans. Inf. Forensics Secur. 2022, 17, 3582–3596. [Google Scholar] [CrossRef] [Scilit]
  12. Zhao, X.; Wang, M.; Jia, Z.; Li, S. Privacy-preserving any-hop cover shortest distance queries on encrypted graphs. IEEE Internet Things J. 2024, 11, 16517–16528. [Google Scholar] [CrossRef] [Scilit]
  13. Zhang, H.; Zeng, S.; Yang, J. Backward private dynamic searchable encryption with update pattern. Inf. Sci. 2023, 624, 1–19. [Google Scholar] [CrossRef] [Scilit]
  14. Shruti; Rani, S.; Sah, D.K.; Gianini, G. Attribute-based encryption schemes for next generation wireless IoT networks: A comprehensive survey. Sensors 2023, 23, 5921. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Sravya, G.; Kumar, P.S.; Padmavathy, R. Survey of post-quantum lattice-based ciphertext-policy attribute-based encryption schemes for cloud storage: Taxonomy, open issues, and future directions. IEEE Trans. Serv. Comput. 2024, 17, 4540–4557. [Google Scholar] [CrossRef] [Scilit]
  16. Yin, H.; Zhao, Y.; Zhang, L.; Qiao, B.; Chen, W.; Wang, H. Attribute-based searchable encryption with decentralized key management for healthcare data sharing. J. Syst. Archit. 2024, 148, 103081. [Google Scholar] [CrossRef] [Scilit]
  17. Zhang, K.; Jiang, Z.; Ning, J.; Huang, X. Subversion-resistant and consistent attribute-based keyword search for secure cloud storage. IEEE Trans. Inf. Forensics Secur. 2022, 17, 1771–1784. [Google Scholar] [CrossRef] [Scilit]
  18. Yan, L.; Wang, G.; Yin, T.; Liu, P.; Feng, H.; Zhang, W.; Hu, H.; Pan, F. Attribute-based searchable encryption: A survey. Electronics 2024, 13, 1621. [Google Scholar] [CrossRef] [Scilit]
  19. Cao, N.; Yang, Z.; Wang, C.; Ren, K.; Lou, W. Privacy-preserving query over encrypted graph-structured data in cloud computing. In Proceedings of the 2011 31st International Conference on Distributed Computing Systems; IEEE: Piscataway, NJ, USA, 2011; pp. 393–402. [Google Scholar]
  20. Hu, M.; Chen, L.; Chen, G.; Mu, Y.; Deng, R.H. A pruned pendant vertex based index for shortest distance query under structured encrypted graph. IEEE Trans. Inf. Forensics Secur. 2024, 19, 6351–6363. [Google Scholar] [CrossRef] [Scilit]
  21. Yu, J.; Duan, Y.; Luo, P.; Li, S. Verifiable strong privacy-preserving any-hop reachability query on blockchain-assisted cloud. IEEE Internet Things J. 2024, 11, 39637–39650. [Google Scholar] [CrossRef] [Scilit]
  22. Wu, H.; Li, Z.; Song, R.; Xiao, B. Enabling privacy-preserving and efficient authenticated graph queries on blockchain-assisted clouds. IEEE Trans. Knowl. Data Eng. 2023, 35, 9728–9742. [Google Scholar] [CrossRef] [Scilit]
  23. Wang, S.; Zheng, Y.; Jia, X.; Yi, X. PeGraph: A system for privacy-preserving and efficient search over encrypted social graphs. IEEE Trans. Inf. Forensics Secur. 2022, 17, 3179–3194. [Google Scholar] [CrossRef] [Scilit]
  24. Song, Y.; Ge, X.; Yu, J.; Hao, R.; Yang, M. Enabling privacy-preserving K-Hop reachability query over encrypted graphs. IEEE Trans. Serv. Comput. 2024, 17, 893–904. [Google Scholar] [CrossRef] [Scilit]
  25. Du, M.; Wu, S.; Wang, Q.; Chen, D.; Jiang, P.; Mohaisen, A. GraphShield: Dynamic large graphs for secure queries with forward privacy. IEEE Trans. Knowl. Data Eng. 2022, 34, 3295–3308. [Google Scholar]
  26. Popa, R.A.; Redfield, C.M.; Zeldovich, N.; Balakrishnan, H. CryptDB: Protecting confidentiality with encrypted query processing. In Proceedings of the Twenty-Third ACM Symposium on Operating Systems Principles, Cascais, Portugal, 23–26 October 2011; pp. 85–100. [Google Scholar]
Figure 3. Index construction time comparison.
Figure 3. Index construction time comparison.
Cryptography 10 00058 g003
Figure 4. Multi-threaded BuildIndex scaling on Wiki-Vote.
Figure 4. Multi-threaded BuildIndex scaling on Wiki-Vote.
Cryptography 10 00058 g004
Figure 5. Single-hop search latency comparison.
Figure 5. Single-hop search latency comparison.
Cryptography 10 00058 g005
Figure 6. Multi-hop retrieval latency per dataset (log scale).
Figure 6. Multi-hop retrieval latency per dataset (log scale).
Cryptography 10 00058 g006
Table 1. Comparison of representative encrypted graph schemes.
Table 1. Comparison of representative encrypted graph schemes.
SchemeMulti-HopFine-Grained ACKG-Native
Xue et al. [4]×
Hu et al. [20]××
Du et al. [25]××
Wang et al. [23]××
Song et al. [24]××
Yin et al. [7]××
Lin et al. [5]×
Chen et al. [6]×
EFKG (this work)
Table 2. Notation.
Table 2. Notation.
SymbolMeaning
G Knowledge graph
T s Set of all triples with subject s
λ System security parameter
P R F Pseudorandom function
HCryptographic hash function
S y m Symmetric encryption scheme
A B E Attribute-based encryption scheme
P P A B E Public parameters of the ABE scheme
M S K A B E Master secret key of the ABE scheme
S K A B E ABE private key of an authorized user
K 1 , K 2 Searchable encryption keys
A s Access policy associated with subject s
k s Symmetric key associated with subject s
C s ABE ciphertext of content key k s
t d s Search trapdoor for querying subject s
C T Ciphertext table
E T ABE ciphertext table
I T Index table
Table 3. Experimental environment configuration.
Table 3. Experimental environment configuration.
ComponentSpecification
CPUIntel Core i5-1135G7
Memory16 GB DDR4
Operating SystemFedora Linux 42
CompilerGCC 15.2.1
Cryptographic LibraryOpenSSL 3.0
Pairing LibraryPBC 0.5.14
Table 4. Characteristics of real-world datasets.
Table 4. Characteristics of real-world datasets.
DatasetEntitiesTriplesAvg. List Len
Wiki-Vote7115103,68914.57
Email-Enron36,692367,66210.02
Email-EuAll265,214420,0451.58
WikiTalk2,394,3855,021,4102.10
Table 5. Multi-threaded BuildIndex performance on Wiki-Vote.
Table 5. Multi-threaded BuildIndex performance on Wiki-Vote.
ThreadsWall Time (s)SpeedupParallel Efficiency
142.821.00×100.0%
222.771.88×94.0%
414.392.97×74.4%
812.523.42×42.8%
Table 6. Per-element storage overhead.
Table 6. Per-element storage overhead.
ComponentField DescriptionSize
CT node c t i : AES-256-GCM ciphertext of the serialized triple25 B
r i : mask seed ( λ = 256 bits)32 B
n c i : encrypted next-node pointer ( λ bits)32 B
h c i : multi-hop component ( 2 λ bits)64 B
ET ciphertext ( C s : ABE-encrypted content key)422 B
IT entry ( P R F ( K 1 , s ) encrypted index value)64 B
Table 7. EFKG ciphertext storage composition (MB).
Table 7. EFKG ciphertext storage composition (MB).
DatasetCTETITTotal
Wiki-Vote15.192.860.4321.80
Email-Enron54.0014.762.2483.06
Email-EuAll62.05106.8816.19204.01
WikiTalk748.19967.13146.142069.50
Table 8. EFKG vs. DSSE-KG storage comparison.
Table 8. EFKG vs. DSSE-KG storage comparison.
DatasetLEFKG (MB)DSSE-KG (MB)
Wiki-Vote14.5721.8030.86
Email-Enron10.0283.06112.90
Email-EuAll1.58204.01145.84
WikiTalk2.102069.501668.10
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yao, G.; Guo, J.; Zhang, H.; Tian, B.; Zhao, Y. EFKG: An Efficient and Fine-Grained Access Control Encrypted Knowledge Graph. Cryptography 2026, 10, 58. https://doi.org/10.3390/cryptography10040058

AMA Style

Yao G, Guo J, Zhang H, Tian B, Zhao Y. EFKG: An Efficient and Fine-Grained Access Control Encrypted Knowledge Graph. Cryptography. 2026; 10(4):58. https://doi.org/10.3390/cryptography10040058

Chicago/Turabian Style

Yao, Guangqiang, Jincheng Guo, Hao Zhang, Bo Tian, and Yue Zhao. 2026. "EFKG: An Efficient and Fine-Grained Access Control Encrypted Knowledge Graph" Cryptography 10, no. 4: 58. https://doi.org/10.3390/cryptography10040058

APA Style

Yao, G., Guo, J., Zhang, H., Tian, B., & Zhao, Y. (2026). EFKG: An Efficient and Fine-Grained Access Control Encrypted Knowledge Graph. Cryptography, 10(4), 58. https://doi.org/10.3390/cryptography10040058

Article Metrics

Back to TopTop