Change name for method

This commit is contained in:
Valentin CZERYBA 2022-04-15 22:38:11 +02:00
parent 33471ad1ca
commit ff25580bee

View File

@ -6,7 +6,7 @@ import java.security.NoSuchAlgorithmException;
public class Hash {
public static String encryptPassword(String input)
public static String encryptSHA512(String input)
{
try {
// getInstance() method is called with algorithm SHA-512