Class PasswordHashCreatorPBKDF2_SHA256_1000_48
- java.lang.Object
-
- com.helger.security.password.hash.AbstractPasswordHashCreator
-
- com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
-
- com.helger.security.password.hash.PasswordHashCreatorPBKDF2_SHA256_1000_48
-
- All Implemented Interfaces:
IPasswordHashCreator
public final class PasswordHashCreatorPBKDF2_SHA256_1000_48 extends AbstractPasswordHashCreatorPBKDF2
The new default implementation ofIPasswordHashCreatorthat requires a salt and uses the PBKDF2 algorithm with 1000 iterations and 48 bytes hash size.- Since:
- 10.0.0
- Author:
- Philip Helger
-
-
Field Summary
Fields Modifier and Type Field Description static StringALGORITHMstatic intHASH_BYTE_SIZEstatic intPBKDF2_ITERATIONS-
Fields inherited from class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
m_nHashBytes, m_nIterations, m_sPBKDF2AlgorithmName
-
-
Constructor Summary
Constructors Constructor Description PasswordHashCreatorPBKDF2_SHA256_1000_48()
-
Method Summary
-
Methods inherited from class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
createPasswordHash, pbkdf2, requiresSalt
-
Methods inherited from class com.helger.security.password.hash.AbstractPasswordHashCreator
getAlgorithmName, toString
-
-
-
-
Field Detail
-
ALGORITHM
public static final String ALGORITHM
- See Also:
- Constant Field Values
-
PBKDF2_ITERATIONS
public static final int PBKDF2_ITERATIONS
- See Also:
- Constant Field Values
-
HASH_BYTE_SIZE
public static final int HASH_BYTE_SIZE
- See Also:
- Constant Field Values
-
-