What is the role of SHA-2 in Internet security?

I am doing an easy and fun reading, and I would like some clarification, please.

I know that SSL uses public key cryptography and is the basis for an HTTPS connection. The encryption used in SSL may be AES-128, 256, or something else. What part of a secure connection does SHA perform securely? If the connection is secure and encrypted using AES, where does the SHA enter the game?

+3
source share
2 answers

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

+3
source

In addition to using them in the certificates mentioned by another poster, the SSL / TLS cryptographic hashes use Message Authentication Code (MAC) using HMAC . This is done so that the thread is not changed by the attacker and rejects the PDUs that are.

0
source

All Articles