Skip to content

Commit 8c44692

Browse files
authored
Merge pull request #11 from overheadhunter/rename-package
2 parents e272f5b + a76910e commit 8c44692

File tree

8 files changed

+11
-8
lines changed

8 files changed

+11
-8
lines changed

CHANGELOG

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
* added `module-info.java`
66

7+
### Breaking Change
8+
In order to avoid split package problems, we renamed this lib's main package `at.favre.lib.crypto` -> `at.favre.lib.hkdf`.
9+
710
## v1.1.0
811

912
* refactor HkdfMacFactory to accept `SecretKey` types instead of byte array - helps to be compatible with some security frameworks #4
@@ -50,7 +53,7 @@ for details on how to implement this if you need a custom impl.
5053
## v0.3.0
5154

5255
* refactor 'expand' byte handling to use byte buffer
53-
* rename package to `at.favre.lib.crypto`
56+
* rename package to `at.favre.lib.hkdf`
5457

5558
## v0.2.1
5659

src/main/java/at/favre/lib/crypto/HKDF.java renamed to src/main/java/at/favre/lib/hkdf/HKDF.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package at.favre.lib.crypto;
17+
package at.favre.lib.hkdf;
1818

1919
import javax.crypto.Mac;
2020
import javax.crypto.SecretKey;

src/main/java/at/favre/lib/crypto/HkdfMacFactory.java renamed to src/main/java/at/favre/lib/hkdf/HkdfMacFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package at.favre.lib.crypto;
17+
package at.favre.lib.hkdf;
1818

1919
import javax.crypto.Mac;
2020
import javax.crypto.SecretKey;

src/main/java9/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module at.favre.lib.hkdf {
2-
exports at.favre.lib.crypto; // FIXME split package with other libs, such as at.favre.lib:bcrypt
2+
exports at.favre.lib.hkdf;
33
}

src/test/java/at/favre/lib/crypto/HKDFBenchmarkTest.java renamed to src/test/java/at/favre/lib/hkdf/HKDFBenchmarkTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package at.favre.lib.crypto;
1+
package at.favre.lib.hkdf;
22

33
import org.apache.commons.lang3.RandomUtils;
44
import org.junit.Ignore;

src/test/java/at/favre/lib/crypto/HKDFTest.java renamed to src/test/java/at/favre/lib/hkdf/HKDFTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package at.favre.lib.crypto;
1+
package at.favre.lib.hkdf;
22

33
import at.favre.lib.bytes.Bytes;
44
import org.apache.commons.lang3.RandomUtils;

src/test/java/at/favre/lib/crypto/HkdfMacFactoryTest.java renamed to src/test/java/at/favre/lib/hkdf/HkdfMacFactoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package at.favre.lib.crypto;
1+
package at.favre.lib.hkdf;
22

33
import org.junit.Test;
44

src/test/java/at/favre/lib/crypto/RFC5869TestCases.java renamed to src/test/java/at/favre/lib/hkdf/RFC5869TestCases.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package at.favre.lib.crypto;
1+
package at.favre.lib.hkdf;
22

33
import org.apache.commons.codec.binary.Hex;
44
import org.junit.Test;

0 commit comments

Comments
 (0)