SecureHash Property  
 

Return the message digest selected when establishing the secure connection with the server.

Syntax

object.SecureHash

Remarks

The SecureHash property returns an integer value which identifies the message digest algorithm that was selected when a secure connection is established. This property may return one of the following values:

Value Constant Description
1 stHashMD5 The MD5 algorithm was selected. This algorithm has been deprecated and is no longer considered to be cryptographically secure.
2 stHashSHA1 The SHA-1 algorithm was selected. This algorithm has been deprecated and is no longer considered to be cryptographically secure.
4 stHashSHA256 The SHA-256 algorithm has been selected.
8 stHashSHA384 The SHA-384 algorithm has been selected.
16 stHashSHA512 The SHA-512 algorithm has been selected.

If a secure connection has not been established, this property will return a value of zero.

Data Type

Integer (Int32)

See Also

CipherStrength Property, HashStrength Property, Secure Property, SecureCipher Property, SecureKeyExchange Property, SecureProtocol Property