Вопрос

As we know DH algorithm based upon 2 large prime numbers, which are used to be called as prime and base

I am writing app which implements DH key exchange algorithm. From security point of view should I take care for securing prime and base numbers? And what are implications if I wouldn't do that?

Это было полезно?

Решение

the prime number and base are public values and you don't need take care for the security of that values

That values are the equivalent to a public key in RSA

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top