code: public static byte[] makeDeploymentHash(byte[] inbytes)
      {
          MessageDigest md = null;
          try {
              md = MessageDigest.getInstance("SHA-1");
          } catch (NoSuchAlgorithmException e) {
              VoltDB.crashLocalVoltDB("Bad JVM has no SHA-1 hash.", true, e);
          }
          md.update(inbytes);
          byte[] hash = md.digest();
          assert(hash.length == 20); // sha-1 length
          return hash;
      }
docs: This code appeared repeatedly.  Extract method to take bytes for the catalog
  or deployment file, do the irritating exception crash test, jam the bytes in,
  and get the SHA-1 hash.