This software is a Java realization for "ciphertext-policy attribute based encryption" (CP-ABE).
To use this software, you will need to have the Java Pairing Based Cryptography Library(jPBC) installed (jpbc-1.2.1 is tested). You can get it from the following page:
http://gas.dia.unisa.it/projects/jpbc/
For more information on CP-ABE and a tutorial on using the tools, see the project homepage:
Your mush be responsible for the problem caused by using the code.
Contribution on this project is welcome! Don't be shy to improve this project and help more people.
Citation
Junwei Wang. Java Realization for Ciphertext-Policy Attribute-Based Encryption. https://github.com/junwei-wang/cpabe/, 2012
or
@article{wang2012java,
title={Java Realization for Ciphertext-Policy Attribute-Based Encryption},
author={Wang, Junwei},
howpublished = {\url{https://github.com/junwei-wang/cpabe/}},
year={2012}
}