Skip to content
Related Articles

Related Articles

Digital Signature Standard (DSS)

View Discussion
Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 28 May, 2020

As we have studied, signature is a way of authenticating the data coming from a trusted individual. Similarly, digital signature is a way of authenticating a digital data coming from a trusted source.

Digital Signature Standard (DSS) is a Federal Information Processing Standard(FIPS) which defines algorithms that are used to generate digital signatures with the help of Secure Hash Algorithm(SHA) for the authentication of electronic documents. DSS only provides us with the digital signature function and not with any encryption or key exchanging strategies.

Sender Side :
In DSS Approach, a hash code is generated out of the message and following inputs are given to the signature function –

  1. The hash code.
  2. The random number ‘k’ generated for that particular signature.
  3. The private key of the sender i.e., PR(a).
  4. A global public key(which is a set of parameters for the communicating principles) i.e., PU(g).

These input to the function will provide us with the output signature containing two components – ‘s’ and ‘r’. Therefore, the original message concatenated with the signature is sent to the receiver.

Receiver Side :
At the receiver end, verification of the sender is done. The hash code of the sent message is generated. There is a verification function which takes the following inputs –

  1. The hash code generated by the receiver.
  2. Signature components ‘s’ and ‘r’.
  3. Public key of the sender.
  4. Global public key.

The output of the verification function is compared with the signature component ‘r’. Both the values will match if the sent signature is valid because only the sender with the help of it private key can generate a valid signature.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!