public class TomEEPbkdf2PasswordHash
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
HASH_BYTE_SIZE |
static java.lang.String |
PBKDF2_ALGORITHM |
static int |
PBKDF2_ITERATIONS |
static int |
SALT_BYTE_SIZE |
Constructor and Description |
---|
TomEEPbkdf2PasswordHash() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generate(char[] password) |
void |
initialize(java.util.Map<java.lang.String,java.lang.String> parameters) |
boolean |
verify(char[] password,
java.lang.String hashedPassword) |
public static final java.lang.String PBKDF2_ALGORITHM
public static final int SALT_BYTE_SIZE
public static final int HASH_BYTE_SIZE
public static final int PBKDF2_ITERATIONS