docs: public static String parseNonceFromDigestFilename(String filename) {
          if (filename == null || !filename.endsWith(".digest")) {
              throw new IllegalArgumentException("Bad digest filename: " + filename);
          }
  
          return parseNonceFromSnapshotFilename(filename);
      }