V
V
Victor Marquardt2016-11-14 18:54:02
Encryption
Victor Marquardt, 2016-11-14 18:54:02

Diffie-Hellman algorithm, what should be the key length?

I implement the Diffie-Hellman algorithm, the common key is generated and matches, the length of the key itself is 3 bits. For example, the key turned out to be 343. Then I will encrypt everything with AES - 256. How reliable is this key length? Is there something (document, article, whatever) where it is described. Google didn't help. Such an algorithm is used (used, now rsa is used) in https - what is the key length there (at least approximately)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2016-11-14
@Cempl

343 is no longer three bits. The three bits are numbers from 0 to 7.
From the wiki:
Accordingly, the key will be of the order of 10 300 or 2 1000 .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question