This is CRC32 Hash generation class in Java which produce hash like PHP hash function. Java's defaultly uses CRC32b algorithm for generating CRC Hash. This Java class will give hash produced by CRC32 algorithm in 8 bytes.