Added MD5 mac algotihm type for less security

This commit is contained in:
TheArrayser 2023-07-17 15:16:12 +02:00
parent 5e2c7651ff
commit 985a58c407

View File

@ -7,12 +7,12 @@ import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
public enum OTPAlgorithm{
SHA1("HmacSHA1"),
SHA1 ("HmacSHA1"),
SHA224("HmacSHA224"),
SHA256("HmacSHA256"),
SHA384("HmacSHA384"),
SHA512("HmacSHA512"),
MD5("HmacMD5");
MD5 ("HmacMD5");
private String javaName;