MCPcopy 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
50def toOpensslPrivatekey(privatekey):
51 privatekey_bin = btctools.encode_privkey(privatekey, "bin")
52 return b'\x02\xca\x00\x20' + privatekey_bin
53
54
55def toOpensslPublickey(publickey):

Callers 1

getEccFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected