Skip to main content
edited tags
Link
Tom Leek
  • 173.8k
  • 29
  • 352
  • 483
Tweeted twitter.com/#!/StackSecurity/status/141567633551147008
Source Link
whitehat
  • 553
  • 1
  • 5
  • 7

SHA, RSA and the relation between them

SHA is the hashing mechanism. However, RSA is the encryption algorithm.

So does RSA algorithm use SHA hashing mechanism to generate hashing keys which in turn is used to encrypt the message??

Moreover, RSA itself gives 2 keys. One can be kept public and one private. Now, these keys can be used to encrypt as well as decrypt. Ref : RSA. Then what is the use of SHA in RSA?

In a certificate given by any site that gives HTTPS security, there is an SHA as well as a MD5 key present. How are these produced and used in the eccryption or decryption of data transferred to the browser?