MCPcopy Create free account
hub / github.com/LUX-Core/lux / publicToPoint

Function publicToPoint

src/cpp-ethereum/libdevcrypto/CryptoPP.cpp:73–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71};
72
73inline ECP::Point publicToPoint(Public const& _p) { Integer x(_p.data(), 32); Integer y(_p.data() + 32, 32); return ECP::Point(x,y); }
74
75inline Integer secretToExponent(Secret const& _s) { return Integer(_s.data(), Secret::size); }
76

Callers 1

encryptMethod · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected