| Package | Description |
|---|---|
| org.dromara.hutool.crypto.symmetric |
对称加密算法实现,包括AES、DES、DESede等
|
| Modifier and Type | Method and Description |
|---|---|
static SymmetricAlgorithm |
SymmetricAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SymmetricAlgorithm[] |
SymmetricAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
SymmetricCrypto(SymmetricAlgorithm algorithm)
构造,使用随机密钥
|
SymmetricCrypto(SymmetricAlgorithm algorithm,
byte[] key)
构造
|
SymmetricCrypto(SymmetricAlgorithm algorithm,
SecretKey key)
构造
|
Copyright © 2025. All rights reserved.