I
I
Ivan Petrov2016-10-25 18:22:40
Encryption
Ivan Petrov, 2016-10-25 18:22:40

How is the hash function calculated in the EDS according to ElGamal?

Hello. It is not clear how the hash function is calculated in the example of creating an EDS according to ElGamal. Or is it for simplicity? But if, for example, hashing by MD5, then how then to solve the equation using the Euclidean Algorithm?
3 point on the picture.
d27eb43d5a644f1db6a5b97040df5f72.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Андрей, 2016-10-25
@OLS

В реальной жизни используются "правильные" (криптостойкие) хеш-функции, например, SHA-256. А размер подписываемого по ElGamal сообщения со стойким размером асимметричного ключа примерно и будет в этом диапазоне (если меньше - дробят на 2-3 сообщения, если больше - расширяют padding-ом).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question