code: public static String getFileSHA256String(File file) throws IOException {
          MessageDigest messageDigest = getMessageDigest(SHA256);
          return getFileHashString(file, messageDigest);
      }
docs: Calculate SHA-256 hash of a File
  
  @param file - the File to hash
  @return the SHA-256 hash value
  @throws IOException