[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about encoding of RSA public Exponent



Jim,

>
>The public exponent is what confuses me - it doesn't seem to be in
two's
>complement form.
No, it is not supposed to be.

>The exponent value is 65537
>Hex  is                                        010001
>Binary is                                    0000 0001 0000 0000 0000
>0001
which is correct.

>I would have thought this would have to be encoded as
>020400FEFFFF
Nope.

>Could you tell me what I'm overlooking in this case?
Check with PKCS#1 downloadable from RSA, or it is also RFC 2437.

- Tolga