com.baidu.sapi2.security
类 AES

java.lang.Object
  继承者 com.baidu.sapi2.security.AES

public class AES
extends Object


构造方法摘要
AES()
           
 
方法摘要
static byte[] decrypt(byte[] code, String iv, String secretKey)
           
static byte[] encrypt(String text, String iv, String secretKey)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AES

public AES()
方法详细信息

encrypt

public static byte[] encrypt(String text,
                             String iv,
                             String secretKey)
                      throws Exception
抛出:
Exception

decrypt

public static byte[] decrypt(byte[] code,
                             String iv,
                             String secretKey)
                      throws Exception
抛出:
Exception


Copyright © 2013. All Rights Reserved.