dhunter/util/util.py
def md5(msg: str) -> str:
        """Calculates MD5 hashs for string argument.
        """
        import hashlib

        if str is None:
            raise ValueError('Data do hash cannot be None')

        name_hash = hashlib.md5()
        name_hash.update(msg.encode('UTF-8'))
        # return name_hash.digest()
        return name_hash.hexdigest()
Calculates MD5 hashs for string argument.
        
Calculates MD5 hashs for string argument.
Calculates MD5 hashs for string argument .
def md5(msg: str) -> str:
        import hashlib
        if str is None:
            raise ValueError('Data do hash cannot be None')
        name_hash = hashlib.md5()
        name_hash.update(msg.encode('UTF-8'))
        return name_hash.hexdigest()
def md5 ( msg : str ) -> str : import hashlib if str is None : raise ValueError ( 'Data do hash cannot be None' ) name_hash = hashlib . md5 ( ) name_hash . update ( msg . encode ( 'UTF-8' ) ) return name_hash . hexdigest ( )
Calculates MD5 hashs for string argument.
Calculates MD5 hashs for string argument .
"""Calculates MD5 hashs for string argument.
        """ # return name_hash.digest()
msg
str