Searched refs:b64encode (Results 1 – 18 of 18) sorted by relevance
/third_party/python/Lib/test/ |
D | test_base64.py | 108 self.check_nonbyte_element_format(base64.b64encode, bytes_data) 109 self.check_multidimensional(base64.b64encode, bytes_data) 128 eq(base64.b64encode(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=") 129 eq(base64.b64encode(b'\x00'), b'AA==') 130 eq(base64.b64encode(b"a"), b"YQ==") 131 eq(base64.b64encode(b"ab"), b"YWI=") 132 eq(base64.b64encode(b"abc"), b"YWJj") 133 eq(base64.b64encode(b""), b"") 134 eq(base64.b64encode(b"abcdefghijklmnopqrstuvwxyz" 141 eq(base64.b64encode(b'\xd3V\xbeo\xf7\x1d', altchars=b'*$'), b'01a*b$cd') [all …]
|
D | test_urllib2_localnet.py | 210 ENCODED_AUTH = base64.b64encode(USER_PASSWD.encode('ascii')).decode('ascii')
|
D | test_urllib.py | 23 from base64 import b64encode 584 b64encode(userpass.encode("ASCII")).decode("ASCII"))
|
D | test_httpservers.py | 790 base64.b64encode(b'username:pass')}
|
/third_party/grpc/examples/python/cancellation/ |
D | search.py | 66 return base64.b64encode(hasher.digest()).decode('ascii') 136 secret=base64.b64encode(secret), 142 secret=base64.b64encode(secret),
|
/third_party/python/Lib/email/ |
D | base64mime.py | 37 from base64 import b64encode 71 encoded = b64encode(header_bytes).decode("ascii")
|
D | _encoded_words.py | 139 return base64.b64encode(bstring).decode('ascii')
|
/third_party/flutter/skia/tools/lua/ |
D | trigger_ct_lua | 31 script_contents = urllib.quote(base64.b64encode(f.read())) 37 body += '&lua_aggregator=%s' % urllib.quote(base64.b64encode(f.read()))
|
/third_party/python/Lib/ |
D | base64.py | 51 def b64encode(s, altchars=None): function 95 return b64encode(s) 118 return b64encode(s).translate(_urlsafe_encode_translation)
|
/third_party/glib/gobject/tests/ |
D | taptestrunner.py | 123 " File-Content: " + base64.b64encode(output) + "\n"
|
/third_party/glib/gio/tests/ |
D | taptestrunner.py | 123 " File-Content: " + base64.b64encode(output) + "\n"
|
/third_party/python/Doc/library/ |
D | base64.rst | 51 .. function:: b64encode(s, altchars=None) 283 >>> encoded = base64.b64encode(b'data to be encoded')
|
D | hashlib.rst | 648 >>> from base64 import b64decode, b64encode 652 >>> print(b64encode(enc_key).decode('utf-8')) 654 >>> print(b64encode(mac_key).decode('utf-8'))
|
/third_party/python/Lib/urllib/ |
D | request.py | 818 creds = base64.b64encode(user_pass.encode()).decode("ascii") 1016 auth = "Basic " + base64.b64encode(raw.encode()).decode("ascii") 1916 proxy_auth = base64.b64encode(proxy_passwd.encode()).decode('ascii') 1922 auth = base64.b64encode(user_passwd.encode()).decode('ascii')
|
/third_party/protobuf/python/google/protobuf/ |
D | json_format.py | 300 return base64.b64encode(value).decode('utf-8')
|
/third_party/grpc/templates/src/objective-c/ |
D | BoringSSL-GRPC.podspec.template | 27 prefix_gz_b64 = base64.b64encode(prefix_gz)
|
/third_party/python/Lib/logging/ |
D | handlers.py | 1254 s = 'Basic ' + base64.b64encode(s).strip().decode('ascii')
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a1.rst | 2686 Add an optional newline parameter to binascii.b2a_base64(). base64.b64encode()
|