Home
last modified time | relevance | path

Searched refs:b32encode (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_base64.py166 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/
Dtest_base64.py269 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/
Dutils.py15 ("secret", base64.b32encode(hotp._key)),
/external/python/cpython2/Lib/
Dbase64.py142 def b32encode(s): function
/external/python/cpython3/Lib/
Dbase64.py142 def b32encode(s): function
/external/python/cpython2/Doc/library/
Dbase64.rst79 .. function:: b32encode(s)
/external/python/cpython3/Doc/library/
Dbase64.rst112 .. function:: b32encode(s)
/external/python/cpython3/Misc/
DHISTORY4956 - Issue #17812: Fixed quadratic complexity of base64.b32encode().
4957 Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).