
top.jfunc.common.crypto.digest.DigestAlgorithm 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;
/**
* 摘要算法类型
* see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#MessageDigest
*
* @author Looly
*/
public enum DigestAlgorithm {
/**
* MD
*/
MD2("MD2"),
MD5("MD5"),
/**
* SHA
*/
SHA1("SHA-1"),
SHA256("SHA-256"),
SHA384("SHA-384"),
SHA512("SHA-512");
private String value;
private DigestAlgorithm(String value) {
this.value = value;
}
public String getValue() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy