def md5(str): if type(str).__name__ == 'str': str = str.encode('utf-8') return basic_md5(str)
def md5(str): if type(str).__name__ == "str": str = str.encode("utf-8") return basic_md5(str)
def md5(str): str = str.encode('utf-8') return basic_md5(str)
def md5(str): if type(str).__name__ == "str": str = str.encode("utf-8") return basic_md5(str)
def md5(s): if isinstance(s, str): s = s.encode('utf-8') return basic_md5(s)