public class Authenticator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_BYTES |
static String |
PBKDF2_ALGORITHM |
static int |
PBKDF2_ITERATIONS |
static int |
SALT_BYTES |
| Constructor and Description |
|---|
Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createHash(String password,
byte[] salt) |
boolean |
validate(String givenPassword,
byte[] hash,
byte[] salt) |
public static final String PBKDF2_ALGORITHM
public static final int SALT_BYTES
public static final int HASH_BYTES
public static final int PBKDF2_ITERATIONS
Copyright © 2019 OpenSource BIM. All rights reserved.