code: public static long generate(long crc, Enum<?> value)
    {
      if (value == null) {
        return generate(crc, -1);
      }
      
      return generate(crc, value.ordinal());
    }
docs: Calculates CRC from a string.