Share & learn

Through Innovative Digital Library

What is the difference between RSA and DSA in Linux?

Both RSA and DSA are the encryption algorithms still there is any difference between them, can you please share.
 



Answers

Posted by Jon Snow on April 13th 2018 09:38 AM

RSA stands for "Rivest shimar Adleman" and DSA stands for "Digital Signature Algorithm". Both are sufficiently strong encryption algorithms with minor differences. Their performance is what distinguishes one from the other. In generating a key DSA is faster than RSA. In encryption RSA is faster than DSA. On the other hand, when it comes to decrypting, DSA is faster than RSA because of its good decryption capability. For digital signing, DSA is the encryption algorithm to chose RSA is the first algorithm that fit for signing and encryption. It is known for public key cryptography. Ir is the best choice for verification of digital signature. RSA is more secure in the case of long keys i.e. 2048-bit RSA is common and there is some complication in using greater than 1024-bit DSA in FIPS. In the care of DSA, A primary algorithm is used in many security-based applications and products; one of the possible types that can be used with OpenSSH to support version 2 of the "ssh" protocol, "ssh-keygen -t dsa". Below are the command to generate RSA and DSA key, where '-t' option is for selecting the type of the key and you can also use '-b' option to specify the size of the key:

# ssh-keygen -t rsa -b 4110
# ssh-keygen -t dsa
Answer Question

Your email address will not be published. Required fields are marked *

  • Minimum 20 character
SDH3

related questions

Most liked questions

Most answered questions

Login
SDH3 Refresh
Register
SDH3 Refresh
Forgot password
Ask a Question
Minimum 20 character
Minimum 20 character
Reply
Minimum 20 character
SDH3 Refresh