Here you can find the source of crc32(String value)
public static int crc32(String value)
//package com.java2s; //License from project: Open Source License import java.util.zip.CRC32; public class Main { protected static CRC32 _crc = new CRC32(); /**/*from w w w. j a v a 2s.co m*/ * Computes and returns the CRC32 hash value for the supplied string. */ public static int crc32(String value) { _crc.reset(); _crc.update(value.getBytes()); return (int) _crc.getValue(); } }