docs: def md5_digest(instr):
      '''
      Generate an md5 hash of a given string.
      '''
      return salt.utils.stringutils.to_unicode(
          hashlib.md5(salt.utils.stringutils.to_bytes(instr)).hexdigest()
      )