def _check_userline(self, user, password, suffix): return suffix == htdigest(user, self.realm.encode('utf-8'), password)
def userline(self, user, password): return self.prefix(user) + htdigest(user, self.realm.encode('utf-8'), password)
def _check_userline(self, user, password, suffix): return suffix == htdigest(user, self.realm, password)
def userline(self, user, password): return self.prefix(user) + htdigest(user, self.realm, password)