0
$\begingroup$

I am trying to understand how i can create DSA signature. the arithmetic uses H(M) and it is given a random nunber for the hashing result.( written- lets assume it is 121). Is the number really random or i must somehow calculate it before puting it in the formula to solve my problem?

$\endgroup$
  • 2
    $\begingroup$ As as good as any signature scheme uses a hash over the input message, this question comes down to "explain DSA", which is rather too broad in my opinion. If the random is truly random or is a specific value depends on the assignment rather than any reason. Non-deterministic DSA certainly requires a random value as input. $\endgroup$ – Maarten Bodewes Dec 14 '18 at 2:31
  • $\begingroup$ @MaartenBodewes i am tryinf to solve DSA simple problem- with p, q, a, b parameters yo find signature. There is a formula for one of signature components, which eecuires hash of the message, then i should add it to private key value. In different aamplea the hash is different and as i know there is no special hash calvulating need and formula here. But, anyway, in the book is written some value for hash and i wonder how. $\endgroup$ – Մարիամ Գրիգորյան Dec 14 '18 at 3:35
  • 1
    $\begingroup$ A suggestion to help you get an answer: Include the notation for the scheme and use it to highlight which part of the algorithm you're having trouble with. $\endgroup$ – Ella Rose Dec 14 '18 at 18:14

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.