shz.core.hash.IMdHash Maven / Gradle / Ivy
package shz.core.hash;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
import java.nio.file.Path;
public interface IMdHash {
byte[] hash(byte[] bytes);
byte[] hash(InputStream is);
byte[] hash(URL url);
byte[] hash(Path path);
byte[] hash(File file);
}