EncryptPassword - cConnection

Used to encrypt a password

Type: Function

Return Data Type: String

Parameters: String sPWD

ParameterDescription
sPWDPlain text password


Return Value

Encrypted password


Syntax
Function EncryptPassword String sPWD Returns String

Call: Get EncryptPassword sPWD to StringVariable


Description

EncryptPassword is used to encrypt a password.

It is passed the plain text password and returns the encrypted password.

If pbEncryptPassword is False, encryption is disabled and the same value that was passed in is returned.

Because customization is handled by the encryption login object, you should not normally augment the EncryptPassword and DecryptPassword functions in the cConnection class.