From b5b8dac81d7147dd7ab6ee003350b6b1c4fb7dbe Mon Sep 17 00:00:00 2001 From: Junwei Wang Date: Sun, 11 Mar 2018 12:06:40 +0100 Subject: [PATCH] Add jitpack --- BUILD.md | 6 +++++- README.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index 4f2b163..bc8e13d 100644 --- a/BUILD.md +++ b/BUILD.md @@ -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`. @@ -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/) diff --git a/README.md b/README.md index 9b1deba..dbaf479 100644 --- a/README.md +++ b/README.md @@ -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/