# Interpreting the Hash type in a TLS ciphersuite

There are ciphersuites with SHA256, and SHA384. In the following TLS ciphersuite, the SHA types is not specified. Does this always refer to SHA1 (there is SHA0 as well) so which one of them?

TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA

• Where did you get this cipher name from? In my opinion there is no such cipher. But there is TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA which refers to a MAC using SHA1. Dec 19, 2017 at 12:57
• It was a type. Sorry. So this means SHA always refer to SHA1?? There is not any other interpretation for it? Dec 19, 2017 at 13:15
• Still wrong. It's ..._SHA not ...-SHA. Dec 19, 2017 at 13:32
• Yeah, basically they are C-style constants so only alphanumerics and underscore allowed. If you'd use the dash in C it would be misinterpreted as a minus sign. Dec 19, 2017 at 13:37
• If unsure: read the specifications (in this case the TLS RFC's) Dec 19, 2017 at 13:45