public interface PasswordHashVerifier
| Modifier and Type | Interface and Description |
|---|---|
static class |
PasswordHashVerifier.Default
Default implementation
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(char[] password,
PasswordHasher.HashData hashData)
Verify a given password hash and given user password
|
boolean |
verify(char[] password,
String bkdfPasswordHashFormat2)
Verify a given type 2 format message (encoded as base64) and given user password
|
boolean verify(char[] password,
String bkdfPasswordHashFormat2)
password - from userbkdfPasswordHashFormat2 - "BKDF Password Hash Message Format 2" ie. Base64 encoded password hash for storage,
see PasswordHasher.hash(char[], int);boolean verify(char[] password,
PasswordHasher.HashData hashData)
password - from userhashData - format-less bkdf hash format, see PasswordHasher.hashRaw(char[], int)Copyright © 2018. All rights reserved.