ArticleslgStudy

mathematics

Functional encryption

Functional encryption is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Functional encryption rather than just read about it. In short: Functional encryption (FE) is a generalization of public-key encryption in which possessing a secret key allows one to learn a function of what the ciphertext is encrypting. Formal definition More precisely, a functional encryption scheme for a given functionality f {\displaystyle f} consists of the following four algorithms: ( pk , msk ) ← Setup ( 1 λ ) {\displaystyle ({\text{pk}},{\text{msk}})\leftarrow {\textsf {…

Functional encryption — main illustration
Functional encryption — illustration

Key takeaways

  • Functional encryption belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Functional encryption to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Functional encryption from memory before moving on to harder problems.

Reference excerpt

Functional encryption (FE) is a generalization of public-key encryption in which possessing a secret key allows one to learn a function of what the ciphertext is encrypting.

Formal definition More precisely, a functional encryption scheme for a given functionality f {\displaystyle f} consists of the following four algorithms:

( pk , msk ) ← Setup ( 1 λ ) {\displaystyle ({\text{pk}},{\text{msk}})\leftarrow {\textsf {Setup}}(1^{\lambda })} : creates a public key pk {\displaystyle {\text{pk}}} and a master secret key msk {\displaystyle {\text{msk}}} .

sk ← Keygen ( msk , f ) {\displaystyle {\text{sk}}\leftarrow {\textsf {Keygen}}({\text{msk}},f)} : uses the master secret key to generate a new secret key sk {\displaystyle {\text{sk}}} for the function f {\displaystyle f} .

c ← Enc ( pk , x ) {\displaystyle c\leftarrow {\textsf {Enc}}({\text{pk}},x)} : uses the public key to encrypt a message x {\displaystyle x} .

y ← Dec ( sk , c ) {\displaystyle y\leftarrow {\textsf {Dec}}({\text{sk}},c)} : uses secret key to calculate y = f ( x ) {\displaystyle y=f(x)} where x {\displaystyle x} is the value that c {\displaystyle c} encrypts. The security of FE requires that any information an adversary learns from an encryption of x {\displaystyle x} is revealed by f ( x ) {\displaystyle f(x)} . Formally, this is defined by simulation.

Applications Functional encryption generalizes several existing primitives including Identity-based encryption (IBE) and attribute-based encryption (ABE). In the IBE case, define F ( k , x ) {\displaystyle F(k,x)} to be equal to x {\displaystyle x} when k {\displaystyle k} corresponds to an identity that is allowed to decrypt, and ⊥ {\displaystyle \perp } otherwise. Similarly, in the ABE case, define F ( k , x ) = x {\displaystyle F(k,x)=x} when k {\displaystyle k} encodes attributes with permission to decrypt and ⊥ {\displaystyle \perp } otherwise.

History Functional encryption was proposed by Amit Sahai and Brent Waters in 2005 and formalized by Dan Boneh, Amit Sahai and Brent Waters in 2010. Until recently, however, most instantiations of Functional Encryption supported only limited function classes such as boolean formulae. In 2012, several researchers developed Functional Encryption schemes that support arbitrary functions.

References

Illustrations

Functional encryption illustration

Worked examples

Example 1 — a first encounter with Functional encryption

Start with the simplest possible case. Write down what Functional encryption claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Functional encryption before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Functional encryption ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Functional encryption

In research
Functional encryption appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Functional encryption in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Functional encryption is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cryptographic primitives, so understanding it makes those chapters shorter.
In everyday life
Look for Functional encryption outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Functional encryption” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Functional encryption in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Functional encryption means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Functional encryption out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Functional encryption in simple terms?

Functional encryption (FE) is a generalization of public-key encryption in which possessing a secret key allows one to learn a function of what the ciphertext is encrypting. Formal definition More precisely, a functional encryption scheme for a given functionality f {\displaystyle f} consists of th…

Why does Functional encryption matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Functional encryption?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Functional encryption.

Tags

  • Cryptographic primitives

Keep exploring