Dear all:
at the end of letter, I append the the public key I excerpted from my
certificate by openssl x509.
Since the key is 2048 bits, 256 bytes, I find the length of 00:af:......14:f7
is 257 bytes.

But I use -modulus parameter, I see the beginning 00 will disappear
and the size if 256 bytes as I want.
can I bypass the first byte of public key when I do the calculation?
appreciate your help,
miloody


Is my certificate wrong?
appreciate your help,

 RSA Public Key: (2048 bit)
                Modulus (2048 bit):
                    00:af:4f:8a:97:de:96:20:6e:10:0e:ee:da:b7:0e:
                    c0:26:34:aa:aa:e7:bf:ff:38:f4:ba:c4:df:d6:69:
                    db:93:63:7d:0e:72:17:43:bd:0b:41:4c:3f:ec:84:
                    41:8a:18:fd:15:bb:09:e5:1f:fd:ef:36:84:6e:f5:
                    6f:20:9d:9a:74:8c:5b:4e:35:3b:62:1f:95:b6:8b:
                    98:da:4e:31:35:6f:cd:5d:2c:c8:39:1c:6a:62:29:
                    58:ae:19:c7:c3:f9:f8:df:67:0c:8d:d6:16:11:7f:
                    9d:b5:30:2f:eb:e4:c2:42:bd:95:09:c2:56:54:82:
                    93:ed:d5:81:d9:82:41:d0:60:21:d7:95:a0:64:7c:
                    cc:70:79:dd:a5:ff:a0:96:ee:ac:0a:ed:0d:bb:48:
                    69:50:14:f2:40:9c:18:7b:e6:e2:02:7b:02:f4:57:
                    94:9b:f0:f9:47:75:a8:34:be:3d:a6:c8:3f:a0:c8:
                    ac:e3:8a:39:c4:bc:c7:6b:73:cf:6e:45:a4:36:63:
                    2f:7f:db:1a:8f:b9:29:ac:74:93:af:a1:30:9a:8a:
                    3b:39:d7:5f:76:15:49:52:99:79:fb:ba:44:83:52:
                    c1:79:2a:af:30:c9:9d:87:f0:ff:d4:b4:f3:ce:7d:
                    cc:95:87:4c:b6:00:86:0b:19:d3:1f:cc:dc:22:7e:
                    14:f7
                Exponent: 65537 (0x10001)
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to