def compute_md5(self):
        """Compute and erturn MD5 hash value."""
        import hashlib
        with open(self.path, "rt") as fh:
            text = fh.read()
            m = hashlib.md5(text.encode("utf-8"))
            return m.hexdigest()
def compute_md5 ( self ) : import hashlib with open ( self . path , "rt" ) as fh : text = fh . read ( ) m = hashlib . md5 ( text . encode ( "utf-8" ) ) return m . hexdigest ( )
Compute and erturn MD5 hash value.