edu.vt.middleware.crypt.digest
Class RipeMD320

java.lang.Object
  extended by edu.vt.middleware.crypt.AbstractAlgorithm
      extended by edu.vt.middleware.crypt.AbstractRandomizableAlgorithm
          extended by edu.vt.middleware.crypt.digest.DigestAlgorithm
              extended by edu.vt.middleware.crypt.digest.RipeMD320
All Implemented Interfaces:
Algorithm, Randomizable

public class RipeMD320
extends DigestAlgorithm

RipeMD320 contains functions for hashing data using the RipeMD320 algorithm. This algorithm outputs a 320 bit hash, but offers the same level of security as RipeMD320.

Version:
$Revision: 3 $
Author:
Middleware Services

Field Summary
 
Fields inherited from class edu.vt.middleware.crypt.digest.DigestAlgorithm
CHUNK_SIZE, digest, salt
 
Fields inherited from class edu.vt.middleware.crypt.AbstractRandomizableAlgorithm
randomByteSize
 
Fields inherited from class edu.vt.middleware.crypt.AbstractAlgorithm
algorithm, logger, randomProvider
 
Constructor Summary
RipeMD320()
          Creates an uninitialized instance of an RipeMD320 digest.
RipeMD320(boolean randomize)
          Creates a new RipeMD320 digest that may optionally be initialized with random data.
RipeMD320(byte[] salt)
          Creates a new RipeMD320 digest and initializes it with the given salt.
 
Method Summary
 
Methods inherited from class edu.vt.middleware.crypt.digest.DigestAlgorithm
digest, digest, digest, digest, getDigest, getRandomSalt, newInstance, setDigest, setSalt
 
Methods inherited from class edu.vt.middleware.crypt.AbstractRandomizableAlgorithm
getRandomByteSize, setRandomByteSize
 
Methods inherited from class edu.vt.middleware.crypt.AbstractAlgorithm
getAlgorithm, getRandomData, setRandomProvider, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RipeMD320

public RipeMD320()
Creates an uninitialized instance of an RipeMD320 digest.


RipeMD320

public RipeMD320(boolean randomize)
Creates a new RipeMD320 digest that may optionally be initialized with random data.

Parameters:
randomize - True to randomize initial state of digest, false otherwise.

RipeMD320

public RipeMD320(byte[] salt)
Creates a new RipeMD320 digest and initializes it with the given salt.

Parameters:
salt - Salt data used to initialize digest computation.


Copyright © 2003-2011 Virginia Tech. All Rights Reserved.