Package overit.geocall.util.password
Class PBKDF2
java.lang.Object
overit.geocall.util.password.PasswordAlgo
overit.geocall.util.password.PBKDF2
Deprecated.
Class that manages the PBKDF2 algorithm used to store the password
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.util.password.PasswordAlgo
PasswordAlgo.Type -
Field Summary
FieldsFields inherited from class overit.geocall.util.password.PasswordAlgo
ARGON2_BETA, BCRYPT, OPKBDF2, SCRYPT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Checks if the stored hashed password correspondsDeprecated.Generates the hashed passwordgetType()Deprecated.Returns the type of algorithm usedstatic voidDeprecated.Methods inherited from class overit.geocall.util.password.PasswordAlgo
getInstance
-
Field Details
-
skf
Deprecated.
-
-
Constructor Details
-
PBKDF2
public PBKDF2()Deprecated.
-
-
Method Details
-
getType
Deprecated.Description copied from class:PasswordAlgoReturns the type of algorithm used- Specified by:
getTypein classPasswordAlgo- Returns:
- The type of algorithm used
-
generate
Deprecated.Description copied from class:PasswordAlgoGenerates the hashed password- Specified by:
generatein classPasswordAlgo- Parameters:
password- To hash- Returns:
- The hashed password
-
check
Deprecated.Description copied from class:PasswordAlgoChecks if the stored hashed password corresponds- Specified by:
checkin classPasswordAlgo- Parameters:
password- The password to checkstored- The stored password to check- Returns:
trueif the password corresponds to the stored one,falseotherwise
-
main
Deprecated.
-
PBKDF2V2