3
$\begingroup$

I know the difference between KP-ABE and CP-ABE. I am not able to understand why KP-ABE is better for broadcasting than CP-ABE ?

$\endgroup$
1
  • 1
    $\begingroup$ crypto.stackexchange.com/q/18123/7431 - from one of the comments - CP-ABE processes the full access tree during encryption, KP-ABE only does it during key generation $\endgroup$
    – Natanael
    Mar 10, 2019 at 23:04

1 Answer 1

4
$\begingroup$

Moderator note: the next section in this answer is an edit, made by Ernesto Gómez, of the original, accepted answer. That edit also reversed CP-ABE and KP-ABE in the last section.


The question is badly elaborated:

Normally people don't elaborate that KP-ABE is better than CP-ABE,

Normally people do elaborate that KP-ABE is worse than CP-ABE,

In Ciphertext-Policy Attribute-Based Encryption the policy is in the Ciphertext. In Key-Policy attribute based encryption the policy is in the decryption key.

After this clarification, Why CP-ABE is "better" than KP-ABE?


Let's say if we want to encrypt a cartoon musical movie, and it can be watched by children users:

In CP-ABE, we can encrypt the movie with attribute cartoon and musical, and then generate a secret key with attribute structure cartoon AND musical for children users.

In KP-ABE, we have to think in the way that only users attributed with cartoon AND musical can decrypt, and then generate the secret key with attribute cartoon and musical for children users.

Although both encryption works, CP-ABE is more intuitive for broadcasters, because we only need to encrypt the movie with its types during production. Besides, it is also more flexible because we can add new users with personalized types without re-encrypting the video.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.