org.polyglotted.crypto.digest.Sha1Digest 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 Sha1Digest extends AbstractDigest {
public Sha1Digest() {
super(sha1());
}
@SneakyThrows
private static final MessageDigest sha1() {
return MessageDigest.getInstance("SHA1");
}
}