MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / base64_url_encode

Function base64_url_encode

keepercommander/utils.py:198–200  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

196
197
198def base64_url_encode(b): # type: (bytes) -> str
199 bs = base64.urlsafe_b64encode(b)
200 return bs.rstrip(b'=').decode('ascii')
201
202
203def string_to_bytes(string):

Callers 2

generate_uidFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected