Home
last modified time | relevance | path

Searched refs:b32encode (Results 1 – 9 of 9) 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)
721 b32encode = base64.b32encode
[all …]
/external/python/cryptography/src/cryptography/hazmat/primitives/twofactor/
Dutils.py15 ("secret", base64.b32encode(hotp._key)),
/external/python/cpython3/Lib/
Dbase64.py248 def b32encode(s): function
250 b32encode.__doc__ = _B32_ENCODE_DOCSTRING.format(encoding='base32')
/external/python/cpython2/Lib/
Dbase64.py142 def b32encode(s): function
/external/python/cpython3/Doc/library/
Dbase64.rst112 .. function:: b32encode(s)
141 Similar to :func:`b32encode` but uses the Extended Hex Alphabet, as defined in
/external/python/cpython2/Doc/library/
Dbase64.rst79 .. function:: b32encode(s)
/external/autotest/utils/frozen_chromite/lib/
Dcros_build_lib.py1778 return base64.b32encode(stamp + data).decode('utf-8')[0:32].lower()
/external/python/cpython3/Misc/
DHISTORY4956 - Issue #17812: Fixed quadratic complexity of base64.b32encode().
4957 Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).