On 8 May 2005 at 21:40, Luigi Lo Iacono wrote:

> Hi!
> 
> To get the public ecc key (basically a point) the following code
> snippet should be useful:
> 
> CryptoPP::ECPPoint point = pubkey.GetPublicElement();
> CryptoPP::Integer x = point.x;
> CryptoPP::Integer y = point.y;
> std::cout << "x = " << x;
> std::cout << "y = " << y;
> 


One typically wants to output and store the point in compressed 
format (basically the x coordinate plus a sign bit of the y 
coordinate.)


Reply via email to