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 Description
stHashMD5 The MD5 algorithm was selected. This algorithm has been deprecated and is no longer considered to be cryptographically secure.
stHashSHA1 The SHA-1 algorithm was selected. This algorithm has been deprecated and is no longer considered to be cryptographically secure.
stHashSHA256 The SHA-256 algorithm has been selected.
stHashSHA384 The SHA-384 algorithm has been selected.
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