
top.jfunc.common.crypto.digest.HmacAlgorithm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-crypto Show documentation
Show all versions of common-crypto Show documentation
encrypt,decrypt interface implements by symmetric,asymmetric,digester
The newest version!
package top.jfunc.common.crypto.digest;
/**
* HMAC算法类型
* see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
*
* @author Looly
*/
public enum HmacAlgorithm {
/**
* HmacMd5
*/
HmacMD5("HmacMD5"),
/**
* HmacSHA
*/
HmacSHA1("HmacSHA1"),
HmacSHA256("HmacSHA256"),
HmacSHA384("HmacSHA384"),
HmacSHA512("HmacSHA512");
private String value;
private HmacAlgorithm(String value) {
this.value = value;
}
public String getValue() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy