public abstract class Base64EncodedHashDigest extends Object
Constructor and Description |
---|
Base64EncodedHashDigest() |
Modifier and Type | Method and Description |
---|---|
boolean |
check(String password,
String encrypted) |
protected byte[] |
createByteHash(String password) |
protected MessageDigest |
createDigestInstance() |
protected String |
encodeHash(byte[] hash) |
String |
encrypt(String password) |
protected abstract String |
getAlgorithmName()
allows subclasses to select the hash algorithm
|
protected byte[] createByteHash(String password)
protected MessageDigest createDigestInstance()
protected String encodeHash(byte[] hash)
protected abstract String getAlgorithmName()
Copyright © 2015. All rights reserved.