com.intel.cosbench.driver.util
Class HashUtil

java.lang.Object
  extended by com.intel.cosbench.driver.util.HashUtil

public class HashUtil
extends java.lang.Object


Field Summary
static java.lang.String GUARD
           
 
Constructor Summary
HashUtil()
           
HashUtil(java.lang.String _algo)
           
 
Method Summary
 java.lang.String calculateHash()
           
 int getHashLen()
           
 void update(byte[] data)
           
 void update(byte[] data, int offset, int length)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GUARD

public static final java.lang.String GUARD
See Also:
Constant Field Values
Constructor Detail

HashUtil

public HashUtil()

HashUtil

public HashUtil(java.lang.String _algo)
Method Detail

getHashLen

public int getHashLen()

update

public void update(byte[] data,
                   int offset,
                   int length)

update

public void update(byte[] data)

calculateHash

public java.lang.String calculateHash()