Package | Description |
---|---|
cn.orionsec.kit.lang.utils.crypto.enums | |
cn.orionsec.kit.lang.utils.crypto.symmetric |
Modifier and Type | Method and Description |
---|---|
static PaddingMode |
PaddingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaddingMode[] |
PaddingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Cipher |
CipherAlgorithm.getCipher(WorkingMode work,
PaddingMode padding) |
Cipher |
CipherAlgorithm.getCipher(WorkingMode work,
PaddingMode padding,
Provider provider)
解密算法/工作模式/填充方式
|
Cipher |
CipherAlgorithm.getCipher(WorkingMode work,
PaddingMode padding,
String provider) |
protected String |
CipherAlgorithm.getCipherMode(WorkingMode work,
PaddingMode padding) |
Modifier and Type | Field and Description |
---|---|
protected PaddingMode |
SymmetricBuilder.paddingMode
填充模式
|
protected PaddingMode |
BaseSymmetric.paddingMode
填充模式
|
Modifier and Type | Method and Description |
---|---|
PaddingMode |
BaseSymmetric.getPaddingMode() |
Modifier and Type | Method and Description |
---|---|
SymmetricBuilder |
SymmetricBuilder.paddingMode(PaddingMode paddingMode)
设置填充模式
|
Constructor and Description |
---|
BaseSymmetric(CipherAlgorithm cipherAlgorithm,
WorkingMode workingMode,
PaddingMode paddingMode,
SecretKey secretKey) |
EcbSymmetric(CipherAlgorithm algorithm,
PaddingMode paddingMode,
SecretKey secretKey) |
ParamSymmetric(CipherAlgorithm cipherAlgorithm,
WorkingMode workingMode,
PaddingMode paddingMode,
SecretKey secretKey,
AlgorithmParameterSpec paramSpec) |
Copyright © 2024. All rights reserved.