java.lang.Object |
↳ |
com.pnfsoftware.jeb.util.encoding.Hash |
Class Overview
Hash calculation routines. To calculate multiple hashes in a more efficient way, use
HashCalculator
instead.
Summary
Public Constructors |
|
Hash()
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
static
int
calculateCRC32
(byte[] data)
public
static
byte[]
calculateMD5
(byte[] data)
public
static
byte[]
calculateSHA1
(byte[] data)
public
static
byte[]
calculateSHA256
(byte[] data)
public
static
void
checksumBlockFileUpdate
(Checksum h, File f, long offset, long size)
public
static
void
checksumBlockFileUpdate
(Checksum h, RandomAccessFile raf, long size)
public
static
void
checksumBlockFileUpdate
(Checksum h, File f)