Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is SHA-2's role in internet security?

Tags:

ssl

aes

sha

I'm doing some light and fun reading and I'd like to get some clarification, please.

I know that SSL uses public-key cryptography and is the backbone behind the HTTPS connection. The encryption used in SSL can be AES-128, 256, or whatever. What part of the secure connection does SHA play in security? If the connection is secured, and encrypted with AES, where does SHA come into play?

like image 552
dzilla Avatar asked Oct 27 '25 09:10

dzilla


1 Answers

SHA is a hash function.
Hash functions have nothing to do with encryption. They are used in digital signing and message integrity.
For example in certificates, there is the public key but there is also the hash to ensure that the certificate has not been altered

like image 97
Cratylus Avatar answered Oct 29 '25 05:10

Cratylus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!