throws Throwable
  public static int crc32(String str)    throws Throwable  {    CRC32 crc = new CRC32();    for (int i = 0; i < str.length(); i++) {      char ch = str.charAt(i);      crc.update((byte) ch);    }    return (int) crc.getValue();  }