A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Attribute-Based Encryption

Research Depth 100 in the knowledge graph ☐ I know this ☆ Set as goal
540prerequisites beneath it
See this on the map →
Computational Hardness AssumptionsIdentity-Based Encryption→
abe cp-abe kp-abe access-policy fine-grained-access

Core Idea

Attribute-based encryption (ABE) generalizes IBE by encrypting data under access policies over attributes rather than single identities. In ciphertext-policy ABE (CP-ABE), the ciphertext embeds a policy like "(Department=Engineering AND Clearance>=Secret) OR Role=CEO" and any user whose attributes satisfy the policy can decrypt. In key-policy ABE (KP-ABE), the policy is embedded in the user's key. ABE enables fine-grained cryptographic access control without trusting the storage server — the data itself enforces the access policy. Constructions use bilinear pairings or lattices, with security under variants of the Bilinear Diffie-Hellman or LWE assumptions.

Explainer

Traditional encryption is all-or-nothing: either you have the key and can decrypt, or you don't. Attribute-Based Encryption (ABE) introduces fine-grained access control into the encryption itself. Rather than encrypting to a specific recipient, you encrypt under a policy — a Boolean formula over attributes like "Department=Engineering AND Clearance>=Secret." Any user whose attributes satisfy the policy can decrypt; everyone else sees only ciphertext. The access control is enforced cryptographically, not by a server that could be hacked or coerced.

ABE comes in two flavors. In Ciphertext-Policy ABE (CP-ABE), the encryptor embeds the access policy in the ciphertext, and each user's key reflects their attributes. This is the natural choice for data sharing: the data owner decides the policy. In Key-Policy ABE (KP-ABE), the authority embeds policies in keys, and ciphertexts carry attribute sets. This suits broadcast scenarios where the authority controls access decisions. Both provide the same fundamental guarantee: decryption succeeds if and only if the user's attributes satisfy the policy, and collusion resistance ensures that users cannot pool their keys to exceed their individual access — each user's key is bound to a unique random value that makes cross-key combination algebraically impossible.

The constructions rely on bilinear pairings (extending the IBE framework) or, more recently, lattice-based assumptions. A typical CP-ABE construction associates each attribute with a group element, builds the ciphertext as a collection of pairing-compatible elements encoding the policy, and structures the key so that the pairing equation "completes" only when the key's attributes satisfy the ciphertext's policy. The policy can express any monotone Boolean formula (AND, OR, threshold gates). Some constructions support non-monotone policies (including negation). The mathematical machinery is substantially more complex than basic IBE, but the security reductions follow similar patterns.

ABE's primary application is encrypted cloud storage with access control. A hospital stores encrypted patient records in the cloud. Each record is encrypted under a policy specifying which roles can access it. The cloud server stores ciphertext and cannot read any records. When a doctor with the right attributes requests a record, they decrypt locally — the server never sees the plaintext. This eliminates the need to trust the cloud provider with data confidentiality. The main practical challenges are key management (the attribute authority must issue keys correctly and handle attribute changes), revocation (revoking a user's access after key issuance requires additional mechanisms), and performance (decryption time and ciphertext size scale with policy complexity). Despite these challenges, ABE represents the most powerful form of cryptographic access control available, enabling data owners to enforce rich, fine-grained policies without relying on any trusted intermediary at access time.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Boolean Type and Truth Values → Comparison Operators and Boolean Tests → Logical Operators and Boolean Algebra → Boolean Algebra and Fundamental Laws → Logic Gates Fundamentals → Implementing Boolean Functions with Gates → Karnaugh Map Simplification → Combinational Circuit Design → Flip-Flops and Latches → Finite State Machines (FSMs) → Deterministic Finite Automata (DFA) → Nondeterministic Finite Automata (NFA) → Two-Way Finite Automata → NFA to DFA Conversion (Subset Construction) → DFA Properties and Minimization Algorithms → Regular Languages: Definition and Characterization → Context-Free Grammars (CFGs) → Pushdown Automata (PDA) → Equivalence of CFGs and Pushdown Automata → Closure Properties of Context-Free Languages → Limitations of Context-Free Languages → Pumping Lemma for Context-Free Languages → Turing Machines → Variants of Turing Machines and Equivalence → Nondeterministic Time Complexity and NP → The P vs. NP Problem → Complexity Class P: Polynomial Time → Hash Functions and Collision Resistance → The RSA Cryptosystem → Computational Hardness Assumptions → Identity-Based Encryption → Attribute-Based Encryption

Longest path: 101 steps · 540 total prerequisite topics

Prerequisites (2)

Leads To (0)

No topics depend on this one yet.