Package example.app.utility
Class Password
java.lang.Object
example.app.utility.Password
Class Password
This class provides methods for the operations related to password.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Password
public Password()
-
-
Method Details
-
hash
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
-