Package | Description |
---|---|
cn.orionsec.kit.lang.utils.crypto.enums | |
cn.orionsec.kit.lang.utils.crypto.symmetric |
Modifier and Type | Method and Description |
---|---|
static WorkingMode |
WorkingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkingMode[] |
WorkingMode.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 WorkingMode |
SymmetricBuilder.workingMode
工作模式
|
protected WorkingMode |
BaseSymmetric.workingMode
工作模式
|
Modifier and Type | Method and Description |
---|---|
WorkingMode |
BaseSymmetric.getWorkingMode() |
Modifier and Type | Method and Description |
---|---|
SymmetricBuilder |
SymmetricBuilder.workingMode(WorkingMode workingMode)
设置工作模式
|
Constructor and Description |
---|
BaseSymmetric(CipherAlgorithm cipherAlgorithm,
WorkingMode workingMode,
PaddingMode paddingMode,
SecretKey secretKey) |
ParamSymmetric(CipherAlgorithm cipherAlgorithm,
WorkingMode workingMode,
PaddingMode paddingMode,
SecretKey secretKey,
AlgorithmParameterSpec paramSpec) |
ParamSymmetric(CipherAlgorithm cipherAlgorithm,
WorkingMode workingMode,
SecretKey secretKey,
AlgorithmParameterSpec paramSpec) |
Copyright © 2024. All rights reserved.