public class CheckSum
public static java.lang.String getMD5Checksum(java.lang.String filename)
public static java.lang.String getProtocolChecksum(java.lang.String filename,
java.lang.String protocol)
Allows user to specify the protocol, e.g. MD5, SHA-1, SHA-256
filename - filename to checksumprotocol - protocolpublic static java.lang.String getChecksum(java.lang.String filename,
java.lang.String protocol)
Allows user to specify the protocol, e.g. MD5, SHA-1, SHA-256
filename - filename to checksumprotocol - protocolpublic static java.lang.String getChecksumForString(java.lang.String str,
java.lang.String protocol)
Allows user to specify the protocol, e.g. MD5, SHA-1, SHA-256
str - string to checksumprotocol - protocol