|
@@ -7,7 +7,7 @@ import java.security.SecureRandom;
|
|
public class DesUtils {
|
|
public class DesUtils {
|
|
|
|
|
|
private static final String DES = "DES";
|
|
private static final String DES = "DES";
|
|
- private static final String KEY = "4YztMHI7PsT4rLZN2435";
|
|
|
|
|
|
+ private static final String KEY = "4YztMHI7PsT4rLZN";
|
|
|
|
|
|
private static byte[] encrypt(byte[] src, byte[] key) throws Exception {
|
|
private static byte[] encrypt(byte[] src, byte[] key) throws Exception {
|
|
SecureRandom sr = new SecureRandom();
|
|
SecureRandom sr = new SecureRandom();
|