public class ShaHashDigest extends Base64EncodedHashDigest implements PasswordEncryptor
PasswordEncryptor
implementation using base64 encoded SHA password hashes
Constructor and Description |
---|
ShaHashDigest() |
Modifier and Type | Method and Description |
---|---|
String |
encrypt(String password)
Encrypt the given password
|
protected String |
getAlgorithmName()
allows subclasses to select the hash algorithm
|
check, createByteHash, createDigestInstance, encodeHash
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
check
protected String getAlgorithmName()
Base64EncodedHashDigest
getAlgorithmName
in class Base64EncodedHashDigest
public String encrypt(String password)
PasswordEncryptor
encrypt
in interface PasswordEncryptor
encrypt
in class Base64EncodedHashDigest
Copyright © 2015. All rights reserved.