We hash files with the following steps: Print hashed filename using the specified input file and algorithm. Print hashed file data using the specified input file and algorithm.