Class AbstractPasswordHashCreator
- java.lang.Object
-
- com.helger.security.password.hash.AbstractPasswordHashCreator
-
- All Implemented Interfaces:
IPasswordHashCreator
- Direct Known Subclasses:
AbstractPasswordHashCreatorPBKDF2,PasswordHashCreatorBCrypt,PasswordHashCreatorSHA512
public abstract class AbstractPasswordHashCreator extends Object implements IPasswordHashCreator
Abstract base class ofIPasswordHashCreator.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPasswordHashCreator(String sAlgorithmName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithmName()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.security.password.hash.IPasswordHashCreator
createPasswordHash, requiresSalt
-
-
-
-
Method Detail
-
getAlgorithmName
@Nonnull @Nonempty public final String getAlgorithmName()
- Specified by:
getAlgorithmNamein interfaceIPasswordHashCreator- Returns:
- The name of the algorithm used in this creator. May neither be
nullnor empty. This is a self-chosen name and not related to a JDK internal name.
-
-