Searched refs:urlsafe_b64encode (Results 1 – 25 of 29) sorted by relevance
12
/external/python/cryptography/tests/ |
D | test_fernet.py | 99 f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend) 101 f.decrypt(base64.urlsafe_b64encode(b"\x81")) 104 f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend) 106 f.decrypt(base64.urlsafe_b64encode(b"\x80abc")) 109 f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend) 114 f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend) 121 f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend) 130 f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend) 143 Fernet(base64.urlsafe_b64encode(b"abc"), backend=backend) 146 f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32), backend=backend) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/strings_ops/ |
D | base64_ops_test.py | 61 base64_msg = [base64.urlsafe_b64encode(m) for m in msg] 105 enc = base64.urlsafe_b64encode(msg) 111 enc = base64.urlsafe_b64encode(msg) 124 enc = base64.urlsafe_b64encode(msg) 131 enc = base64.urlsafe_b64encode(msg) 142 enc = base64.urlsafe_b64encode(msg)
|
/external/python/cpython3/Lib/ |
D | secrets.py | 72 return base64.urlsafe_b64encode(tok).rstrip(b'=').decode('ascii')
|
D | base64.py | 111 def urlsafe_b64encode(s): function
|
/external/python/cryptography/src/cryptography/ |
D | fernet.py | 46 return base64.urlsafe_b64encode(os.urandom(32)) 72 return base64.urlsafe_b64encode(basic_parts + hmac)
|
/external/autotest/utils/frozen_chromite/third_party/oauth2client/ |
D | _helpers.py | 96 return base64.urlsafe_b64encode(raw_bytes).rstrip(b'=')
|
D | xsrfutil.py | 62 token = base64.urlsafe_b64encode(digest + DELIMITER + when)
|
D | service_account.py | 87 signature = base64.urlsafe_b64encode(rsa_bytes).rstrip(b'=')
|
/external/python/oauth2client/oauth2client/ |
D | _helpers.py | 98 return base64.urlsafe_b64encode(raw_bytes).rstrip(b'=')
|
/external/toolchain-utils/cros_utils/ |
D | bugs.py | 38 entropy = base64.urlsafe_b64encode(os.getrandom(8))
|
D | email_sender.py | 142 entropy = base64.urlsafe_b64encode(os.getrandom(8))
|
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 99 eq(base64.urlsafe_b64encode('\xd3V\xbeo\xf7\x1d'), '01a-b_cd') 101 eq(base64.urlsafe_b64encode(bytearray('\xd3V\xbeo\xf7\x1d')), '01a-b_cd')
|
/external/python/oauth2client/oauth2client/contrib/ |
D | xsrfutil.py | 61 token = base64.urlsafe_b64encode(digest + DELIMITER + when)
|
/external/python/google-auth-library-python/google/auth/ |
D | _helpers.py | 236 return base64.urlsafe_b64encode(value).rstrip(b"=")
|
/external/python/oauth2client/tests/contrib/ |
D | test_xsrfutil.py | 74 expected_token = base64.urlsafe_b64encode( 109 expected_token = base64.urlsafe_b64encode(
|
/external/python/google-auth-library-python/tests/oauth2/ |
D | test_challenges.py | 43 "challenge": base64.urlsafe_b64encode(
|
/external/autotest/site_utils/ |
D | gmail_lib.py | 78 return {'raw': base64.urlsafe_b64encode(message.as_string())}
|
/external/python/apitools/apitools/base/py/ |
D | base_api_test.py | 271 'bytes_field': base64.urlsafe_b64encode(non_unicode_message), 287 'nextPageToken': base64.urlsafe_b64encode(non_unicode_message),
|
D | encoding_helper.py | 492 result = [base64.urlsafe_b64encode(byte) for byte in value] 494 result = base64.urlsafe_b64encode(value)
|
D | base_api.py | 538 return base64.urlsafe_b64encode(value)
|
/external/python/cpython2/Lib/ |
D | base64.py | 101 def urlsafe_b64encode(s): function
|
/external/autotest/utils/frozen_chromite/third_party/infra_libs/ |
D | httplib2_utils.py | 114 return base64.urlsafe_b64encode(
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 169 eq(base64.urlsafe_b64encode(b'\xd3V\xbeo\xf7\x1d'), b'01a-b_cd') 171 self.check_other_types(base64.urlsafe_b64encode, 173 self.check_encode_type_errors(base64.urlsafe_b64encode)
|
/external/python/oauth2client/tests/ |
D | test_client.py | 1491 payload = base64.urlsafe_b64encode(body_json).strip(b'=') 1624 payload = base64.urlsafe_b64encode(body_json).strip(b'=') 1633 payload = base64.urlsafe_b64encode(body_json).strip(b'=') 2050 payload = base64.urlsafe_b64encode(body_json).strip(b'=') 2051 jwt = (base64.urlsafe_b64encode(b'stuff') + b'.' + payload + b'.' + 2052 base64.urlsafe_b64encode(b'signature'))
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 64 .. function:: urlsafe_b64encode(s)
|
12