+
+ true
+ true
+
+
+
+
+
+ 5.0
+
+
+
+ false
+ false
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/mystic_crypt__spotlessJavaApply_.xml b/.idea/runConfigurations/mystic_crypt__spotlessJavaApply_.xml
index 0092df99..3fa0d13e 100644
--- a/.idea/runConfigurations/mystic_crypt__spotlessJavaApply_.xml
+++ b/.idea/runConfigurations/mystic_crypt__spotlessJavaApply_.xml
@@ -17,7 +17,17 @@
truetrue
+
+
+
+
+
+ 5.0
+
+
+ false
+ false
-
+
\ No newline at end of file
diff --git a/src/main/java/io/github/astrapi69/mystic/crypt/key/PrivateKeyHexDecryptor.java b/src/main/java/io/github/astrapi69/mystic/crypt/key/PrivateKeyHexDecryptor.java
index 0498dadc..2675dbb4 100644
--- a/src/main/java/io/github/astrapi69/mystic/crypt/key/PrivateKeyHexDecryptor.java
+++ b/src/main/java/io/github/astrapi69/mystic/crypt/key/PrivateKeyHexDecryptor.java
@@ -33,11 +33,7 @@
/**
* The class {@link PrivateKeyHexDecryptor} decrypts encrypted characters the was encrypted with the
- * public key of the pendant private key of this class.
- *
- *
- * @deprecated use instead the class {@link PrivateKeyHexStringDecryptor}. Note: will be removed in
- * next major version.
+ * public key of the pendant private key of this class.
*/
public final class PrivateKeyHexDecryptor
{
diff --git a/src/main/java/io/github/astrapi69/mystic/crypt/key/PublicKeyHexEncryptor.java b/src/main/java/io/github/astrapi69/mystic/crypt/key/PublicKeyHexEncryptor.java
index 01b8326a..c05d3f62 100644
--- a/src/main/java/io/github/astrapi69/mystic/crypt/key/PublicKeyHexEncryptor.java
+++ b/src/main/java/io/github/astrapi69/mystic/crypt/key/PublicKeyHexEncryptor.java
@@ -35,9 +35,6 @@
/**
* The class {@link PublicKeyHexEncryptor} can encrypt characters with his public key.
*
- *
- * @deprecated use instead the class {@link PublicKeyHexStringEncryptor}. Note: will be removed in
- * next major version.
*/
public final class PublicKeyHexEncryptor
{
diff --git a/src/test/java/io/github/astrapi69/mystic/crypt/simple/SimpleEnDecryptorTest.java b/src/test/java/io/github/astrapi69/mystic/crypt/simple/SimpleEnDecryptorTest.java
index 4c8fdc4b..165c38c0 100644
--- a/src/test/java/io/github/astrapi69/mystic/crypt/simple/SimpleEnDecryptorTest.java
+++ b/src/test/java/io/github/astrapi69/mystic/crypt/simple/SimpleEnDecryptorTest.java
@@ -24,7 +24,7 @@
*/
package io.github.astrapi69.mystic.crypt.simple;
-import static org.testng.AssertJUnit.assertTrue;
+import static org.testng.AssertJUnit.assertEquals;
import java.io.UnsupportedEncodingException;
import java.security.InvalidAlgorithmParameterException;
@@ -81,13 +81,12 @@ public void testEncrypt() throws InvalidKeyException, UnsupportedEncodingExcepti
expected = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr,;-)";
- encryptor = new SimpleEncryptor(CompoundAlgorithm.PRIVATE_KEY);
+ encryptor = new SimpleEncryptor(CompoundAlgorithm.PASSWORD);
encrypted = encryptor.encrypt(expected);
- decryptor = new SimpleDecryptor(CompoundAlgorithm.PRIVATE_KEY);
+ decryptor = new SimpleDecryptor(CompoundAlgorithm.PASSWORD);
actual = decryptor.decrypt(encrypted);
- assertTrue("String before encryption is not equal after decryption.",
- expected.equals(actual));
+ assertEquals("String before encryption is not equal after decryption.", expected, actual);
}
}