Answer the question
In order to leave comments, you need to log in
How is the rsa key size calculated?
Let's say we have
p=3,
q=7,
{e, n} - {5, 21} (public key),
{d, n} - {17, 21} (private key)
How to calculate the key size?
Answer the question
In order to leave comments, you need to log in
Calculate the integer binary logarithm of d.
But usually the key length is byte-aligned. Therefore, in your case, the key length is 8 bits.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question