All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bt.data.digest.SHA1Digester Maven / Gradle / Ivy

There is a newer version: 1.10
Show newest version
package bt.data.digest;

public class SHA1Digester extends JavaSecurityDigester {

    public static Digester rolling(int step) {
        if (step <= 0) {
            throw new IllegalArgumentException("Invalid step: " + step);
        }
        return new SHA1Digester(step);
    }

    private SHA1Digester(int step) {
        super("SHA-1", step);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy