Browse Source

Entfernen nicht mehr benoetigtem Initialisieren mit SUN-Klasse

(cherry picked from commit dbd4572c72)
master
Meikel Bisping 1 week ago
parent
commit
34d2ed6682
  1. 3
      src/de/memtext/util/CryptUtils.java

3
src/de/memtext/util/CryptUtils.java

@ -231,8 +231,7 @@ public class CryptUtils {
private static void initDesCipher() throws NoSuchAlgorithmException, private static void initDesCipher() throws NoSuchAlgorithmException,
NoSuchPaddingException { NoSuchPaddingException {
java.security.Security //java.security.Security.addProvider(new com.sun.crypto.provider.SunJCE());
.addProvider(new com.sun.crypto.provider.SunJCE());
desCipher = Cipher.getInstance("DES"); desCipher = Cipher.getInstance("DES");
} }

Loading…
Cancel
Save