Package org.apache.jackrabbit.vault.util
Class MD5
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.MD5
-
public class MD5 extends Object
MD5
...
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MD5
digest(File file)
static MD5
digest(InputStream in)
boolean
equals(Object o)
byte[]
getBytes()
long[]
getLongs()
long
getLsb()
long
getMsb()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
MD5
public MD5(long msb, long lsb)
-
MD5
public MD5(String str)
-
MD5
public MD5(byte[] bytes)
-
-
Method Detail
-
getLongs
public long[] getLongs()
-
getMsb
public long getMsb()
-
getLsb
public long getLsb()
-
getBytes
public byte[] getBytes()
-
digest
public static MD5 digest(InputStream in) throws IOException
- Throws:
IOException
-
digest
public static MD5 digest(File file) throws IOException
- Throws:
IOException
-
-