Class PBKDF2

java.lang.Object
overit.geocall.util.password.PasswordAlgo
overit.geocall.util.password.PBKDF2

@Deprecated public class PBKDF2 extends PasswordAlgo
Deprecated.
Class that manages the PBKDF2 algorithm used to store the password
  • Field Details

  • Constructor Details

    • PBKDF2

      public PBKDF2()
      Deprecated.
  • Method Details

    • getType

      public PasswordAlgo.Type getType()
      Deprecated.
      Description copied from class: PasswordAlgo
      Returns the type of algorithm used
      Specified by:
      getType in class PasswordAlgo
      Returns:
      The type of algorithm used
    • generate

      public String generate(String password)
      Deprecated.
      Description copied from class: PasswordAlgo
      Generates the hashed password
      Specified by:
      generate in class PasswordAlgo
      Parameters:
      password - To hash
      Returns:
      The hashed password
    • check

      public boolean check(String password, String stored)
      Deprecated.
      Description copied from class: PasswordAlgo
      Checks if the stored hashed password corresponds
      Specified by:
      check in class PasswordAlgo
      Parameters:
      password - The password to check
      stored - The stored password to check
      Returns:
      true if the password corresponds to the stored one, false otherwise
    • main

      public static void main(String[] args)
      Deprecated.