MCPcopy Create free account
hub / github.com/ccxt/ccxt / to_string

Method to_string

python/ccxt/static_dependencies/ecdsa/keys.py:121–124  ·  view source on GitHub ↗
(self, encoding = 'uncompressed')

Source from the content-addressed store, hash-verified

119 return b"\x02" + x_str
120
121 def to_string(self, encoding = 'uncompressed'):
122 if encoding == "compressed":
123 return self._compressed_encode()
124 return self._raw_encode()
125
126 def to_pem(self):
127 return der.topem(self.to_der(), "PUBLIC KEY")

Callers

nothing calls this directly

Calls 2

_compressed_encodeMethod · 0.95
_raw_encodeMethod · 0.95

Tested by

no test coverage detected