Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ str_to_b64str
Function
str_to_b64str
test/functional/test_framework/util.py:230–231 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
228
229
230
def
str_to_b64str(string):
231
return
b64encode(string.encode(
'utf-8'
)).decode(
'ascii'
)
232
233
234
def
ceildiv(a, b):
Callers
3
call_with_auth
Function · 0.90
rpccall
Function · 0.90
run_test
Method · 0.90
Calls
2
decode
Method · 0.45
encode
Method · 0.45
Tested by
no test coverage detected