removed use of ByteUtils.
import javax.crypto.Cipher;
-import org.bouncycastle.pqc.legacy.math.linearalgebra.ByteUtils;
+import org.bouncycastle.util.encoders.Hex;
public abstract class AsymmetricBlockCipherTest
@@ -68,9 +68,9 @@ protected final void performEnDecryptionTest(int numPassesKPG,
// compare
assertEquals("Encryption and Decryption test failed:\n"
+ " actual decrypted text: "
- + ByteUtils.toHexString(dBytes)
+ + Hex.toHexString(dBytes)
+ "\n expected plain text: "
- + ByteUtils.toHexString(mBytes), mBytes, dBytes);
+ + Hex.toHexString(mBytes), mBytes, dBytes);
}
}
}
