Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mpdavis/python-jose
/ long_to_base64
Function
long_to_base64
jose/utils.py:26–27 ·
view source on GitHub ↗
(data, size=0)
Source
from the content-addressed store, hash-verified
24
25
26
def
long_to_base64(data, size=0):
27
return
base64.urlsafe_b64encode(long_to_bytes(data, size)).strip(b
"="
)
28
29
30
def
int_arr_to_long(arr):
Callers
4
to_dict
Method · 0.90
to_dict
Method · 0.90
to_dict
Method · 0.85
to_dict
Method · 0.85
Calls
1
long_to_bytes
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…