Metalpalo wrote:
> Hello everybody
> 
> I have question 
> 
> I created the private key via openssl with length 2048b = 256B , but when
> I'm looking for the public key, I see that the length of public key is 256+1
> bytes. 
> 
> Modulus (2048 bit):
>                     00:b1:51:7f:e0:13:c2:e7:ca:44:50:54:ec:01:26:

the modulus is an unsigned integer. in 2s complement representation you
need a leading 0 to make it unsigned if your most-significant-byte is >
0x7F (yours is 0xB1 here).


-jb
-- 
The biggest problem with communication is the illusion that it has occurred.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to