# Class: com.pnfsoftware.jeb.util.encoding.Hash

Hash calculation routines. To calculate multiple hashes in a more efficient way, use [HashCalculator](HashCalculator) instead.

## Constructor: Hash


## Static Method: calculateCRC32
- parameter: `data`, type: `byte[]`
- return type: `int`


## Static Method: calculateMD5
- parameter: `data`, type: `byte[]`
- return type: `byte[]`


## Static Method: calculateSHA1
- parameter: `data`, type: `byte[]`
- return type: `byte[]`


## Static Method: calculateSHA256
- parameter: `data`, type: `byte[]`
- return type: `byte[]`


## Static Method: checksumBlockFileUpdate
- parameter: `h`, type: `java.util.zip.Checksum`
- parameter: `f`, type: `java.io.File`


## Static Method: checksumBlockFileUpdate
- parameter: `h`, type: `java.util.zip.Checksum`
- parameter: `f`, type: `java.io.File`
- parameter: `offset`, type: `long`
- parameter: `size`, type: `long`


## Static Method: checksumBlockFileUpdate
- parameter: `h`, type: `java.util.zip.Checksum`
- parameter: `raf`, type: `java.io.RandomAccessFile`
- parameter: `size`, type: `long`


