Package org.apache.jackrabbit.vault.util
Class SHA1
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.SHA1
-
@Deprecated public class SHA1 extends Object
Deprecated.Rather useMessageDigest.getInstance(String)
SHA1 abstraction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SHA1
digest(File file)
Deprecated.static SHA1
digest(InputStream in)
Deprecated.boolean
equals(Object o)
Deprecated.byte[]
getBytes()
Deprecated.int[]
getInts()
Deprecated.int
hashCode()
Deprecated.String
toString()
Deprecated.
-
-
-
Field Detail
-
NULL
public static final SHA1 NULL
Deprecated.
-
-
Constructor Detail
-
SHA1
public SHA1(int w0, int w1, int w2, int w3, int w4)
Deprecated.
-
SHA1
public SHA1(String str)
Deprecated.
-
SHA1
public SHA1(byte[] bytes)
Deprecated.
-
-
Method Detail
-
getInts
public int[] getInts()
Deprecated.
-
getBytes
public byte[] getBytes()
Deprecated.
-
digest
public static SHA1 digest(InputStream in) throws IOException
Deprecated.- Throws:
IOException
-
digest
public static SHA1 digest(File file) throws IOException
Deprecated.- Throws:
IOException
-
-