| Modifier and Type | Field and Description |
|---|---|
static Padding |
Padding.DEFAULT_PADDING_ALGORITHM
PKCS5 Padding, the default algorithm for padding
|
| Modifier and Type | Method and Description |
|---|---|
static Padding |
Padding.forShortcut(String shortcut)
Finds the Padding object for the given short cut
|
Padding |
Crypt.getPadding()
Returns the padding
|
static Padding |
Padding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Padding[] |
Padding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Crypt(String encryptionAlgorithm,
int keySize,
int blockSize,
BlockMode blockMode,
Padding padding)
Constructs a Crypt object with the specified parameters
|
Crypt(String encryptionAlgorithm,
int keySize,
int blockSize,
String passwordHashingAlgorithm,
BlockMode blockMode,
Padding padding)
Constructs a Crypt object with the specified parameters
|
Crypt(String encryptionAlgorithm,
int keySize,
int blockSize,
String passwordHashingAlgorithm,
BlockMode blockMode,
Padding padding,
int bufferSize)
Constructs a Crypt object with the specified parameters
|
Copyright © 2014 Michael Bock. All rights reserved.