Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/HelloZeroNet/ZeroNet
/ toOpensslPrivatekey
Function
toOpensslPrivatekey
plugins/CryptMessage/CryptMessage.py:50–52 ·
view source on GitHub ↗
(privatekey)
Source
from the content-addressed store, hash-verified
48
49
50
def
toOpensslPrivatekey(privatekey):
51
privatekey_bin = btctools.encode_privkey(privatekey,
"bin"
)
52
return
b
'\x02\xca\x00\x20'
+ privatekey_bin
53
54
55
def
toOpensslPublickey(publickey):
Callers
1
getEcc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected