|
|
@ -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"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|