def _HashFromFileHandle(file_handle):
 pos = file_handle.tell()
 content_hash = _Hash(file_handle.read())
 file_handle.seek(pos, 0)
 return content_hash

def _HashFromFileHandle ( file_handle ) : pos = file_handle . tell ( ) content_hash = _Hash ( file_handle . read ( ) ) file_handle . seek ( pos , 0 ) return content_hash
compute the hash of the content of the file pointed to by file_handle .