Simplified ABE encryption and decryption based on PBC library http://crypto.stanford.edu/pbc/