Searched refs:urlsafe_b64encode (Results 1 – 4 of 4) sorted by relevance
72 return base64.urlsafe_b64encode(tok).rstrip(b'=').decode('ascii')
111 def urlsafe_b64encode(s): function
169 eq(base64.urlsafe_b64encode(b'\xd3V\xbeo\xf7\x1d'), b'01a-b_cd')171 self.check_other_types(base64.urlsafe_b64encode,173 self.check_encode_type_errors(base64.urlsafe_b64encode)
94 .. function:: urlsafe_b64encode(s)