From ff25580bee2a29f018b4b5f0cf02315cd763853d Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Fri, 15 Apr 2022 22:38:11 +0200 Subject: [PATCH] Change name for method --- src/main/java/com/covas/Classes/Hash.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/covas/Classes/Hash.java b/src/main/java/com/covas/Classes/Hash.java index b59abb4..ea9d82b 100644 --- a/src/main/java/com/covas/Classes/Hash.java +++ b/src/main/java/com/covas/Classes/Hash.java @@ -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