Added MD5 mac algotihm type for less security
This commit is contained in:
parent
5e2c7651ff
commit
985a58c407
@ -7,12 +7,12 @@ import javax.crypto.Mac;
|
|||||||
import javax.crypto.spec.SecretKeySpec;
|
import javax.crypto.spec.SecretKeySpec;
|
||||||
|
|
||||||
public enum OTPAlgorithm{
|
public enum OTPAlgorithm{
|
||||||
SHA1("HmacSHA1"),
|
SHA1 ("HmacSHA1"),
|
||||||
SHA224("HmacSHA224"),
|
SHA224("HmacSHA224"),
|
||||||
SHA256("HmacSHA256"),
|
SHA256("HmacSHA256"),
|
||||||
SHA384("HmacSHA384"),
|
SHA384("HmacSHA384"),
|
||||||
SHA512("HmacSHA512"),
|
SHA512("HmacSHA512"),
|
||||||
MD5("HmacMD5");
|
MD5 ("HmacMD5");
|
||||||
|
|
||||||
|
|
||||||
private String javaName;
|
private String javaName;
|
||||||
|
Loading…
Reference in New Issue
Block a user