public static class CodecUtils.AESCodecHelper extends CodecUtils.CodecHelper
CIPHER_ALGORITHM, KEY_ALGORITHM, KEY_SIZE| Constructor and Description |
|---|
AESCodecHelper(int keySize,
int iterationCount) |
| Modifier and Type | Method and Description |
|---|---|
Key |
toKey(byte[] key)
转换密钥
|
decrypt, decrypt, encrypt, encrypt, getCipherInstance, initKey, initKeyToStringpublic Key toKey(byte[] key) throws Exception
CodecUtils.CodecHelpertoKey in class CodecUtils.CodecHelperkey - 二进制密钥Exception - if an error occurs.Copyright © 2022. All rights reserved.