Code example for Adler32

Methods: getValue, update

0
	 * Computes the Alder32 of a dataset 
	 * @param data Dataset to compute the hash 
	 * @return The hash value 
	 */ 
	public static long getAlder32(byte[] data) {
		Checksum checksum = new Adler32();
		checksum.update(data, 0, data.length);
		return checksum.getValue();
	} 
	 
}