Class Password

java.lang.Object
example.app.utility.Password

public final class Password extends Object

Class Password

This class provides methods for the operations related to password.
  • Constructor Details

    • Password

      public Password()
  • Method Details

    • hash

      public static byte[] hash(String password)
      This method hashes a String password with SHA512 algorithm.
      Parameters:
      password - The password to be hashed
      Returns:
      The hashed password of the user as array of bytes