@staticmethod
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.hexdigest()
