SecureCipher Property  
 

Return the encryption algorithm used to establish the secure connection with the server.

Syntax

object.SecureCipher

Remarks

The SecureCipher property returns an integer value which identifies the algorithm used to encrypt the data stream. This property may return one of the following values:

Value Constant Description
0 swCipherNone No cipher has been selected. This is not a secure connection with the server.
1 swCipherRC2 The RC2 block cipher was selected. This is a variable key length cipher which supports keys between 40- and 128-bits in length, in 8-bit increments.
2 swCipherRC4 The RC4 stream cipher was selected. This is a variable key length cipher which supports keys between 40- and 128-bits in length, in 8-bit increments.
4 swCipherRC5 The RC5 block cipher was selected. This is a variable key length cipher which supports keys up to 2040 bits, in 8-bit increments.
8 swCipherDES The DES (Data Encryption Standard) block cipher was selected. This is a fixed key length cipher using 56-bit keys.
16 swCipherDES3 The Triple DES block cipher was selected. This cipher encrypts the data three times using different keys, effectively using a 168-bit key length.
32 swCipherDESX A variant of the DES block cipher which XORs an extra 64-bits of the key before and after the plaintext has been encrypted, increasing the key size to 184 bits.
64 swCipherAES The Advanced Encryption Standard cipher (also known as the Rijndael cipher) is a fixed block size cipher which use a key size of 128, 192 or 256 bits. This cipher is supported on Windows XP SP3 and later versions of the operating system.
128 swCipherSkipjack The Skipjack block cipher was selected. This is a fixed key length cipher, using 80-bit keys.
256 swCipherBlowfish The Blowfish block cipher was selected. This is a variable key length cipher up to 448 bits, using a 64-bit block size.

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, SecureHash Property, SecureKeyExchange Property, SecureProtocol Property