In this video I covered more the mathematical side of things for DSA rather than talking about the systematic approach or the actual implementations into IT systems. Would you love to see a follow-up on this end as well?
In this example it was simply picked. H(m) is the hash function result "H" on the message "(m"). It could be anything depending on your actual message and chosen hash function. I used 3 as a number here to make the calculation easier :)
You can write a small program in C for example by starting a timer before calling the encryption/decryption function and stop the timer afterwards. Simply print out the elapsed time and you have a rough idea of the time consumption of the algorithms. For sure this measurement is not perfect, but an easy starting point for a rough idea.
In this video I covered more the mathematical side of things for DSA rather than talking about the systematic approach or the actual implementations into IT systems. Would you love to see a follow-up on this end as well?
Calculation of r at 13:11 is wrong , g =2 , so r would end up being 8 right
209952 mod 23 = 8 correct me if iam wrong
In 10.00 g value was 2 but in point 13.00 changed to 11.....
Thank you!! It is well explained now I ve got all I needed about DSA
You are welcome! Let me know if you want some more protocols or algorithms explained and I will try to fit it into my pipeline :)
Sir, how did you find H(m) = 3
In this example it was simply picked. H(m) is the hash function result "H" on the message "(m"). It could be anything depending on your actual message and chosen hash function. I used 3 as a number here to make the calculation easier :)
how can we calculate the time elapsed for the different cryptography algorithms or the decryption/encryption time
You can write a small program in C for example by starting a timer before calling the encryption/decryption function and stop the timer afterwards. Simply print out the elapsed time and you have a rough idea of the time consumption of the algorithms. For sure this measurement is not perfect, but an easy starting point for a rough idea.
g=2 not 11, why change it to 11 in the signing process?????