public abstract class AbstractArgon2PasswordEncoder extends AbstractConfigurablePasswordEncoder
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HASH_LENGTH
The default hash length in bytes if no value is specified.
|
static int |
DEFAULT_ITERATIONS
The default number of iterations if no value is specified.
|
static int |
DEFAULT_MEMORY_SIZE
The default memory size if no value is specified.
|
static int |
DEFAULT_PARALLELISM
The default degree of parallelism if no value is specified.
|
static int |
DEFAULT_SALT_LENGTH
The default salt length in bytes if no value is specified.
|
static String |
DEFAULT_TYPE
The default algorithm type 'id', if no value is specified.
|
static String |
KEY_HASH_LENGTH
Property key for the hash length in bytes for the algorithm.
|
static String |
KEY_ITERATIONS
Property key for the number of iterations.
|
static String |
KEY_MEMORY_SIZE
Property key for the memory size in KB.
|
static String |
KEY_PARALLELISM
Property key for the degree of parallelism (thread count).
|
static String |
KEY_SALT_LENGTH
Property key for the salt length in bytes.
|
static String |
KEY_TYPE
Property key for the algorithm type to use, d, i, or id.
|
static String |
TYPE_D
The 'd' type (maximizes resistance to GPU cracking attacks).
|
static String |
TYPE_I
The 'i' type (optimized to resist side-channel attacks).
|
static String |
TYPE_ID
The 'id' type (a hybrid version).
|
KEY_PREFIX, KEY_RANDOM| Constructor and Description |
|---|
AbstractArgon2PasswordEncoder() |
configure, decodeBytes, doConfigure, doEncode, encode, encodeBytes, getCharset, getPropertyName, getRandom, getTextEncoder, isMatch, matches, parseBoolean, parseInstance, parseInt, parseInt, parseString, toBytespublic static final String KEY_TYPE
public static final String KEY_HASH_LENGTH
public static final String KEY_SALT_LENGTH
public static final String KEY_ITERATIONS
public static final String KEY_MEMORY_SIZE
public static final String KEY_PARALLELISM
public static final String TYPE_D
public static final String TYPE_I
public static final String TYPE_ID
public static final String DEFAULT_TYPE
public static final int DEFAULT_HASH_LENGTH
public static final int DEFAULT_SALT_LENGTH
public static final int DEFAULT_ITERATIONS
public static final int DEFAULT_MEMORY_SIZE
public static final int DEFAULT_PARALLELISM