Searched refs:b32encode (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 166 eq(base64.b32encode(''), '') 167 eq(base64.b32encode('\x00'), 'AA======') 168 eq(base64.b32encode('a'), 'ME======') 169 eq(base64.b32encode('ab'), 'MFRA====') 170 eq(base64.b32encode('abc'), 'MFRGG===') 171 eq(base64.b32encode('abcd'), 'MFRGGZA=') 172 eq(base64.b32encode('abcde'), 'MFRGGZDF') 174 eq(base64.b32encode(bytearray('abcd')), 'MFRGGZA=')
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 276 eq(base64.b32encode(b''), b'') 277 eq(base64.b32encode(b'\x00'), b'AA======') 278 eq(base64.b32encode(b'a'), b'ME======') 279 eq(base64.b32encode(b'ab'), b'MFRA====') 280 eq(base64.b32encode(b'abc'), b'MFRGG===') 281 eq(base64.b32encode(b'abcd'), b'MFRGGZA=') 282 eq(base64.b32encode(b'abcde'), b'MFRGGZDF') 284 self.check_other_types(base64.b32encode, b'abcd', b'MFRGGZA=') 285 self.check_encode_type_errors(base64.b32encode)
|
/external/python/cpython2/Lib/ |
D | base64.py | 142 def b32encode(s): function
|
/external/python/cpython3/Lib/ |
D | base64.py | 142 def b32encode(s): function
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 79 .. function:: b32encode(s)
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 112 .. function:: b32encode(s)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 4956 - Issue #17812: Fixed quadratic complexity of base64.b32encode(). 4957 Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).
|