public class DES
extends java.lang.Object
AES
public static final java.lang.String KEY_ALGORITHM
public static byte[] encrypt(byte[] data, byte[] password) throws java.lang.Exception
data
- 要加密的字节数据password
- 密钥口令java.lang.Exception
public static byte[] decrypt(byte[] data, byte[] password) throws java.lang.Exception
data
- 被DES加密的数据password
- 密钥口令java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © Actionsoft Co., Ltd. All Rights Reserved.