Predicate Encryption Cryptography
- 28Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is predicate encryption?
What is predicate encryption?
28 questions
- 1
What is predicate encryption?
- A
A type of public key encryption where decryption is possible if a predicate is verified.
- B
A type of public key encryption where decryption is always possible regardless of predicate.
- C
A type of symmetric encryption where the same key is used for encryption and decryption.
- D
A type of identity-based encryption that uses a single master key.
Correct answer
AA type of public key encryption where decryption is possible if a predicate is verified.
Explanation
Predicate encryption is a special kind of public key encryption where decryption is possible only if a predicate (a relation between the secret in the ciphertext and the user's secret) is verified.
- A
- 2
Which of the following is a generalization of standard public key cryptography?
- A
Predicate encryption.
- B
Symmetric encryption.
- C
Stream ciphers.
- D
Hash functions.
Correct answer
APredicate encryption.
Explanation
Predicate encryption generalizes standard public key cryptography: instead of a fixed decryption key for a public encryption key, decryption depends on a predicate relating the ciphertext and the user's secret.
- A
- 3
In zero inner product encryption, when can a user decrypt?
- A
If the inner product is a predetermined constant.
- B
If the inner product of the user's secret and the ciphertext secret is zero.
- C
If the inner product of the user's secret and the ciphertext secret is non-zero.
- D
If the user's secret is equal to the ciphertext secret.
Correct answer
BIf the inner product of the user's secret and the ciphertext secret is zero.
Explanation
In zero inner product encryption, decryption is possible if and only if the inner product between the user's secret X and the ciphertext secret Y is zero (X⋅Y=0).
- A
- 4
In non-zero inner product encryption, when can a user decrypt?
- A
If the inner product is a fixed value.
- B
If the inner product of the user's secret and the ciphertext secret is non-zero.
- C
If the user's secret is orthogonal to the ciphertext secret.
- D
If the inner product of the user's secret and the ciphertext secret is zero.
Correct answer
BIf the inner product of the user's secret and the ciphertext secret is non-zero.
Explanation
In non-zero inner product encryption, decryption is possible if and only if the inner product is non-zero (X⋅Y=0).
- A
- 5
In identity-based multi-recipient encryption (broadcast version), who can decrypt the ciphertext?
- A
Every identity not in the set specified by the encryptor.
- B
Any identity in the system.
- C
Every identity in the set specified by the encryptor.
- D
Only the designated single recipient.
Correct answer
CEvery identity in the set specified by the encryptor.
Explanation
In the broadcast version, the encryptor specifies a set of identities, and every identity in that set can decrypt.
- A
- 6
In identity-based revocation, who can decrypt the ciphertext?
- A
Every identity in the set specified by the encryptor.
- B
No one can decrypt.
- C
Every identity not in the set specified by the encryptor.
- D
Only the revoker.
Correct answer
CEvery identity not in the set specified by the encryptor.
Explanation
In identity-based revocation, the encryptor specifies a set of revoked identities, and every identity not in that set can decrypt.
- A
- 7
What does the confidentiality property guarantee in predicate encryption?
- A
An adversary cannot learn the secret key associated with a user.
- B
An adversary cannot determine whether a ciphertext is for a given identity.
- C
An adversary cannot guess which of two messages was encrypted, provided it is not authorized to decrypt.
- D
An adversary cannot guess which challenge vector was used, even if authorized.
Correct answer
CAn adversary cannot guess which of two messages was encrypted, provided it is not authorized to decrypt.
Explanation
Confidentiality means that if an adversary picks two messages M0 and M1 and is given an encryption of one, it should not be able to guess which message was encrypted, as long as it is not authorized to decrypt that ciphertext.
- A
- 8
What does weak attribute-hiding prevent?
- A
An adversary cannot guess which message was encrypted.
- B
An adversary cannot determine the set of authorized users.
- C
An adversary cannot guess which of two challenge vectors was used, provided it is not allowed to decrypt for those challenges.
- D
An adversary cannot learn the secret key.
Correct answer
CAn adversary cannot guess which of two challenge vectors was used, provided it is not allowed to decrypt for those challenges.
Explanation
Weak attribute-hiding means that given a ciphertext for challenge vectors Y0 or Y1, the adversary should not be able to guess which one was used, as long as it is not allowed to decrypt for those challenges.
- A
- 9
What does full attribute-hiding guarantee?
- A
An adversary cannot guess the message as long as it is not authorized.
- B
An adversary cannot learn the master secret key.
- C
An adversary cannot forge a ciphertext.
- D
An adversary cannot guess which challenge vector was used, even if it is authorized to decrypt for both.
Correct answer
DAn adversary cannot guess which challenge vector was used, even if it is authorized to decrypt for both.
Explanation
Full attribute-hiding strengthens weak attribute-hiding: the adversary should not be able to guess which challenge vector was used, either if it is not authorized or if it is authorized for both challenge vectors.
- A
- 10
What does function privacy (predicate privacy) protect?
- A
It hides the identity of the encryptor.
- B
It hides which set of constraints a secret key is associated with.
- C
It hides the message being encrypted.
- D
It hides the decryption algorithm.
Correct answer
BIt hides which set of constraints a secret key is associated with.
Explanation
Function privacy means that given a secret key, the adversary should not be able to determine which set of constraints (e.g., which X) the secret key is associated with.
- A
- 11
What is a limitation of generic transformations from inner product encryption to identity-based multi-recipient encryption?
- A
They only work for broadcast, not revocation.
- B
They do not preserve function privacy.
- C
They do not preserve confidentiality.
- D
They require a trusted third party.
Correct answer
BThey do not preserve function privacy.
Explanation
Generic transformations from inner product encryption to identity-based multi-recipient encryption preserve confidentiality but do not preserve function privacy.
- A
- 12
Why was the generic transformation from zero inner product encryption to anonymous identity-based broadcast encryption not achievable before this work?
- A
Because the transformation only worked for weak anonymity.
- B
Because the transformation required a trusted setup.
- C
Because a fully anonymous zero inner product encryption scheme did not exist.
- D
Because inner product encryption cannot be used for broadcast.
Correct answer
CBecause a fully anonymous zero inner product encryption scheme did not exist.
Explanation
The generic transformation from zero inner product encryption to anonymous identity-based broadcast encryption requires a fully anonymous zero inner product encryption scheme, which did not exist prior to this work.
- A
- 13
What type of group does the predicate-only zero inner product encryption construction use?
- A
Elliptic curves with bilinear pairings.
- B
Finite fields.
- C
Prime-order groups only.
- D
Composite-order groups.
Correct answer
DComposite-order groups.
Explanation
The construction of predicate-only zero inner product encryption is based on composite-order groups.
- A
- 14
Under what assumption is the predicate-only zero inner product encryption scheme proven secure?
- A
The DDH assumption.
- B
The RSA assumption.
- C
The K-MDDH assumption.
- D
The LWE assumption.
Correct answer
CThe K-MDDH assumption.
Explanation
The scheme is proven secure under the K-MDDH (K-Matrix Decisional Diffie-Hellman) assumption.
- A
- 15
How does the compiler transform a predicate-only zero inner product encryption into a non-zero inner product encryption?
- A
By using a one-time pad with a shared secret.
- B
By adding a random nonce to the ciphertext.
- C
By swapping the roles of the secret keys.
- D
By encrypting each bit of the message separately using the predicate-only scheme.
Correct answer
DBy encrypting each bit of the message separately using the predicate-only scheme.
Explanation
The compiler transforms a predicate-only zero IPE into a non-zero IPE by encrypting each bit of the message individually using the predicate-only scheme, which gives one bit of information per decryption.
- A
- 16
What is the main efficiency drawback of the compiler from predicate-only IPE to non-zero IPE?
- A
It increases the master public key size exponentially.
- B
It incurs a linear loss in the message length.
- C
It requires a quadratic number of pairings.
- D
It requires a trusted party for each message.
Correct answer
BIt incurs a linear loss in the message length.
Explanation
The compiler encrypts each bit of the message separately, leading to a linear loss in the message length (the ciphertext size grows linearly with the message length).
- A
- 17
How does the transformation from inner product encryption to identity-based revocation work?
- A
By using a hash function to map identities to numbers.
- B
By interpolating the identity as a polynomial and embedding it in the vector.
- C
By encrypting the identity directly.
- D
By using a Bloom filter.
Correct answer
BBy interpolating the identity as a polynomial and embedding it in the vector.
Explanation
The transformation encodes the identity into a vector by interpolating it as a polynomial, allowing decryption if the identity is not in the revoked set.
- A
- 18
Compared to previous identity-based revocation schemes, what advantage does the new scheme provide?
- A
It requires only one message exchange.
- B
It reduces the master public key size to a single element.
- C
It is based on symmetric cryptography.
- D
It removes restrictions on collusion and provides full attribute-hiding and function privacy.
Correct answer
DIt removes restrictions on collusion and provides full attribute-hiding and function privacy.
Explanation
Previous schemes required a bound on collusion (banding collision) and only offered weak security; the new scheme has no collusion restriction and achieves full attribute-hiding and function privacy.
- A
- 19
What is the context that motivated the development of the EDHOC protocol?
- A
The need for a password-based key exchange protocol.
- B
The need for a high-bandwidth key exchange protocol.
- C
The need for a quantum-resistant key exchange protocol.
- D
The need for a lightweight authenticated key exchange protocol for resource-constrained IoT devices.
Correct answer
DThe need for a lightweight authenticated key exchange protocol for resource-constrained IoT devices.
Explanation
EDHOC was designed by the IETF to provide a lightweight authenticated key exchange protocol suitable for constrained IoT devices with limited memory, computation, and energy.
- A
- 20
On which protocol is EDHOC primarily based?
- A
The TLS 1.3 protocol.
- B
The IKEv2 protocol.
- C
The SSH protocol.
- D
The SIGMA protocol.
Correct answer
DThe SIGMA protocol.
Explanation
EDHOC is essentially based on the SIGMA protocol devised by Krawczyk in 2003.
- A
- 21
How many authentication methods does EDHOC support?
- A
Two.
- B
Four.
- C
Three.
- D
Six.
Correct answer
BFour.
Explanation
EDHOC provides four authentication methods, as the initiator and responder can independently choose to authenticate either with a signature or with a static Diffie-Hellman key.
- A
- 22
In the signature-static authentication method of EDHOC, how does the initiator authenticate?
- A
With a MAC tag computed using a key derived from the static Diffie-Hellman private key.
- B
With a pre-shared key.
- C
With a password.
- D
With a digital signature.
Correct answer
AWith a MAC tag computed using a key derived from the static Diffie-Hellman private key.
Explanation
In the signature-static method, the initiator authenticates with a MAC tag computed from a key derived from the static Diffie-Hellman private key, while the responder uses a signature.
- A
- 23
How does EDHOC protect the identity of the communicating parties?
- A
By using pseudonyms.
- B
By encrypting identifiers and signatures.
- C
By hiding the IP addresses.
- D
By using a trusted third party.
Correct answer
BBy encrypting identifiers and signatures.
Explanation
EDHOC encrypts the identifiers (public keys or certificates) and signatures to provide identity protection, preventing an adversary from learning the parties' identities.
- A
- 24
What does entity authentication guarantee in the context of EDHOC?
- A
That the session key is indistinguishable from random.
- B
That a party in an accepting state has one and only one communicating partner during the protocol run.
- C
That the identity of the parties remains confidential.
- D
That past session keys remain secure even if long-term keys are disclosed.
Correct answer
BThat a party in an accepting state has one and only one communicating partner during the protocol run.
Explanation
Entity authentication ensures that an instance ending in an accepting state has exactly one intended communicating partner during the protocol run.
- A
- 25
What does forward secrecy mean in the EDHOC security model?
- A
Future session keys are secure even if current session keys are disclosed.
- B
Past session keys remain secure even if the long-term secret is disclosed.
- C
The protocol is secure against replay attacks.
- D
The protocol is secure against chosen-plaintext attacks.
Correct answer
BPast session keys remain secure even if the long-term secret is disclosed.
Explanation
Forward secrecy guarantees that the compromise of long-term secrets does not compromise the security of past session keys.
- A
- 26
What is the goal of identity privacy in EDHOC?
- A
To hide the identities from the server only.
- B
To ensure that the identity of parties remains confidential and that different protocol runs cannot be linked.
- C
To prevent the identity from being used in other protocols.
- D
To allow the identity to be publicly known.
Correct answer
BTo ensure that the identity of parties remains confidential and that different protocol runs cannot be linked.
Explanation
Identity privacy guarantees that the identities involved in a protocol run remain confidential and that an adversary cannot track a given party by linking different protocol runs.
- A
- 27
What assumptions are used to prove the security of EDHOC?
- A
The RSA assumption and the discrete logarithm assumption.
- B
The learning with errors assumption.
- C
The assumptions are not specified.
- D
The Gap Diffie-Hellman assumption, the security of the signature scheme, the MAC function, and the symmetric encryption.
Correct answer
DThe Gap Diffie-Hellman assumption, the security of the signature scheme, the MAC function, and the symmetric encryption.
Explanation
The security proof relies on the Gap Diffie-Hellman assumption for key exchange, and the security of the signature scheme, MAC function, and symmetric encryption for authentication and identity privacy.
- A
- 28
According to concrete estimates, which cipher suite is preferred for high-security applications of EDHOC?
- A
The cipher suite based on 3DES.
- B
The cipher suite based on AES-128.
- C
The cipher suite based on ChaCha20.
- D
The cipher suite based on AES-256.
Correct answer
DThe cipher suite based on AES-256.
Explanation
Concrete estimates from the theoretical bounds show that the cipher suite based on AES-256 appears more suitable for high-security applications.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.