jonelo.jacksum.adapt.gnu.crypto.hash

Class Sha224


public class Sha224
extends BaseHash

Implementation of SHA2 [SHA-224] per the IETF Draft Specification.

References:

  1. Descriptions of SHA-224,
  2. http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenotice.pdf

Constructor Summary

Sha224()
Trivial 0-arguments constructor.

Method Summary

static int[]
G(int hh0, int hh1, int hh2, int hh3, int hh4, int hh5, int hh6, int hh7, byte[] in, int offset)
Object
clone()
protected byte[]
getResult()
protected byte[]
padBuffer()
protected void
resetContext()
boolean
selfTest()
protected void
transform(byte[] in, int offset)

Constructor Details

Sha224

public Sha224()
Trivial 0-arguments constructor.

Method Details

G

public static final int[] G(int hh0,
                            int hh1,
                            int hh2,
                            int hh3,
                            int hh4,
                            int hh5,
                            int hh6,
                            int hh7,
                            byte[] in,
                            int offset)

clone

public Object clone()

getResult

protected byte[] getResult()

padBuffer

protected byte[] padBuffer()

resetContext

protected void resetContext()

selfTest

public boolean selfTest()

transform

protected void transform(byte[] in,
                         int offset)