Skip to content

Commit

Permalink
Add jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
junwei-wang committed Mar 11, 2018
1 parent ba1a747 commit b5b8dac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Building CPABE

## Build

1. Copy `jpbc-api-${version}.jar`,`jpbc-plaf-${version}`.jar to cpabe-api/lib
1. Copy `jpbc-api-${version}.jar`,`jpbc-plaf-${version}`.jar to `cpabe-api/lib`
where version >= 1.2.1.
2. Build the package `mvn package`.

Expand All @@ -24,3 +24,7 @@ java -cp "jars/*" co.junwei.bswabe.Demo
```
java -cp "jars/*" co.junwei.cpabe.Demo
```

## Get CPABE into Your Project

Check out [JitPack](https://jitpack.io/#junwei-wang/cpabe/)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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.0 is tested). You can get it from the
Library(jPBC) installed (jpbc-1.2.1 is tested). You can get it from the
following page:

http://gas.dia.unisa.it/projects/jpbc/
Expand Down

0 comments on commit b5b8dac

Please sign in to comment.