org.polyglotted.crypto.digest.Md5Digest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crypto-recipes Show documentation
Show all versions of crypto-recipes Show documentation
A library of standard cryptographic recipes for application usage
package org.polyglotted.crypto.digest;
import java.security.MessageDigest;
import lombok.SneakyThrows;
public class Md5Digest extends AbstractDigest {
public Md5Digest() {
super(md5());
}
@SneakyThrows
private static final MessageDigest md5() {
return MessageDigest.getInstance("MD5");
}
}