CPABE Demo
This notebook demo the ABE scenario for delta project. The scenario is illustrated as follows:
Client
We will have 3 client accounts in PC or notebook with the following attribute
A: IT & exec > 7 -- 可以看1跟2
B: strategy & manager -- 可以看1
C: IABG_team & Hire date = 2008 -- 可以看2
Gateway
We will have two gateway one in MiniITX, the other in ZC702 from Delta.
Access tree of camera1: Access tree of camera2:
ABE server
The basic abe contains four steps as shown in the figure
(1) Setup
Authorities create a set of public parameters including public key and a master key
(2) Key generation
The authorities takes a set of attributes which has been authenticated, the master key MK, and the public key to output a decryption key SK. According to their attributes, each client will have his own private key
(3) Encryption
The gateway encrypt a internally random generated session key, with a set of attributes, and the public key. It outputs the ciphertext
(4) Decryption
The client takes ciphertext, private key, and public key. It then outputs session key if they satisfy the access policy.