org.tranche.hash
Class BigHashMaker

java.lang.Object
  extended by org.tranche.hash.BigHashMaker

public final class BigHashMaker
extends java.lang.Object

Class that actually creates the BigHash used for identifying files/projects.

Author:
Jayson Falkner - jfalkner@umich.edu

Constructor Summary
BigHashMaker()
           
 
Method Summary
 byte[] finish()
          Create the BigHash return bytes of the BigHash.
 void update(byte[] bytes, int offset, int length)
          Update BigHash with a given array of bytes at a particular offset and length.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigHashMaker

public BigHashMaker()
Method Detail

update

public final void update(byte[] bytes,
                         int offset,
                         int length)
Update BigHash with a given array of bytes at a particular offset and length.

Parameters:
bytes -
offset -
length -

finish

public final byte[] finish()
Create the BigHash return bytes of the BigHash.

Returns:


This code is free for use both commercially and non-commercially as stated in the project's license