Searched refs:b32encode (Results 1 – 8 of 8) 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 | 269 eq(base64.b32encode(b''), b'') 270 eq(base64.b32encode(b'\x00'), b'AA======') 271 eq(base64.b32encode(b'a'), b'ME======') 272 eq(base64.b32encode(b'ab'), b'MFRA====') 273 eq(base64.b32encode(b'abc'), b'MFRGG===') 274 eq(base64.b32encode(b'abcd'), b'MFRGGZA=') 275 eq(base64.b32encode(b'abcde'), b'MFRGGZDF') 277 self.check_other_types(base64.b32encode, b'abcd', b'MFRGGZA=') 278 self.check_encode_type_errors(base64.b32encode)
|
/external/python/cryptography/src/cryptography/hazmat/primitives/twofactor/ |
D | utils.py | 15 ("secret", base64.b32encode(hotp._key)),
|
/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).
|