@Deprecated
public class SHA224Digest
extends java.security.MessageDigest
java.security
.
This implementation has been borrowed from the Bouncy Castle implementation of SHA2 algorithms.
Since they are MIT Licensed, they are compatible with this project. Their mandatory copyright notice follows.
Copyright (c) 2000 - 2011 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Constructor and Description |
---|
SHA224Digest()
Deprecated.
Standard constructor
|
SHA224Digest(SHA224Digest t)
Deprecated.
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static int |
bigEndianToInt(byte[] bs,
int off)
Deprecated.
|
static long |
bigEndianToLong(byte[] bs,
int off)
Deprecated.
|
java.lang.Object |
clone()
Deprecated.
|
int |
doFinal(byte[] out,
int outOff)
Deprecated.
|
void |
finish()
Deprecated.
|
java.lang.String |
getAlgorithmName()
Deprecated.
|
int |
getByteLength()
Deprecated.
|
int |
getDigestSize()
Deprecated.
|
static void |
intToBigEndian(int n,
byte[] bs,
int off)
Deprecated.
|
static void |
longToBigEndian(long n,
byte[] bs,
int off)
Deprecated.
|
void |
reset()
Deprecated.
|
void |
update(byte in)
Deprecated.
|
void |
update(byte[] in,
int inOff,
int len)
Deprecated.
|
public SHA224Digest()
public SHA224Digest(SHA224Digest t)
public void update(byte in)
update
in class java.security.MessageDigest
public void update(byte[] in, int inOff, int len)
update
in class java.security.MessageDigest
public void finish()
public int getByteLength()
public java.lang.String getAlgorithmName()
public int getDigestSize()
public int doFinal(byte[] out, int outOff)
public void reset()
reset
in class java.security.MessageDigest
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.security.MessageDigest
java.lang.CloneNotSupportedException
public static int bigEndianToInt(byte[] bs, int off)
public static void intToBigEndian(int n, byte[] bs, int off)
public static long bigEndianToLong(byte[] bs, int off)
public static void longToBigEndian(long n, byte[] bs, int off)