B
B
Bleno-git2019-07-07 14:19:30
Cryptography
Bleno-git, 2019-07-07 14:19:30

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

1 answer(s)
M
Maxim Moseychuk, 2019-07-07
@fshp

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 question

Ask a Question

731 491 924 answers to any question