MD5 hash can be calculated using an InputStream (to reduce memory usage)