From: "Martin Boßlet" Date: 2012-04-12T19:15:00+09:00 Subject: Re: Ruby openssl ECC help plz Am 11. April 2012 15:13 schrieb ruby ismyname : > I have a question about ECDH and I will put it here since there is no > need to make two threads. > > dh_compute_key(pub.public_key) > > returns a string. I need the integer value. .to_i doesn't work. How can > I get the integer value? > Just to make sure - the computed secret is the x coordinate of some point, and what you would like to have is an integer representation of that? -Martin