Searched refs:b32encode (Results 1 – 9 of 9) 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) 721 b32encode = base64.b32encode [all …]
|
/external/python/cryptography/src/cryptography/hazmat/primitives/twofactor/ |
D | utils.py | 15 ("secret", base64.b32encode(hotp._key)),
|
/external/python/cpython3/Lib/ |
D | base64.py | 248 def b32encode(s): function 250 b32encode.__doc__ = _B32_ENCODE_DOCSTRING.format(encoding='base32')
|
/external/python/cpython2/Lib/ |
D | base64.py | 142 def b32encode(s): function
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 112 .. function:: b32encode(s) 141 Similar to :func:`b32encode` but uses the Extended Hex Alphabet, as defined in
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 79 .. function:: b32encode(s)
|
/external/autotest/utils/frozen_chromite/lib/ |
D | cros_build_lib.py | 1778 return base64.b32encode(stamp + data).decode('utf-8')[0:32].lower()
|
/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).
|