edu.vt.middleware.crypt.digest
Class RipeMD128

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.RipeMD128
All Implemented Interfaces:
Algorithm, Randomizable, Cloneable

public class RipeMD128
extends DigestAlgorithm

RipeMD128 contains functions for hashing data using the RipeMD128 algorithm. This algorithm outputs a 128 bit hash.

Version:
$Revision: 2744 $
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
RipeMD128()
          Creates an uninitialized instance of an RipeMD128 digest.
RipeMD128(boolean randomize)
          Creates a new RipeMD128 digest that may optionally be initialized with random data.
RipeMD128(byte[] salt)
          Creates a new RipeMD128 digest and initializes it with the given salt.
 
Method Summary
 
Methods inherited from class edu.vt.middleware.crypt.digest.DigestAlgorithm
clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RipeMD128

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


RipeMD128

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

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

RipeMD128

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

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


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