def b64digest(self): return self.h and urlsafe_b64encode(self.h).decode('utf-8')
def b64digest(self): return self.h and urlsafe_b64encode(self.h)
def b64digest(self): if self.hd: return codec.urlsafe_b64encode(self.hd)