I've written a Small implementation of the simple SHA1 algorithm, I'm wondering how the best method would be of reading data from the file, ignoring line breaks?
Another question: Does standard md5, SHA1, etc, file hashing include the file header, and if so, how would I read that as an ASCII sequence in a clean manner?