public class AES extends Object
| 构造器和说明 |
|---|
AES() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
decrypt(byte[] encryptedData,
byte[] key,
byte[] iv) |
static byte[] |
encrypt(byte[] data,
byte[] key,
byte[] iv) |
static byte[] |
generateIV() |
static byte[] |
generateKey() |
static byte[] |
generateKey(String password) |
public static byte[] decrypt(byte[] encryptedData,
byte[] key,
byte[] iv)
throws IllegalBlockSizeException,
BadPaddingException
public static byte[] encrypt(byte[] data,
byte[] key,
byte[] iv)
public static byte[] generateIV()
public static byte[] generateKey()
public static byte[] generateKey(String password)
Copyright © 2021. All rights reserved.