Skip to content

EncryptPassword - cConnection

Used to encrypt a password

Type: Function
Return Data Type: String

Parameters

Parameter Type Description
sPWD String Plain text password

Syntax

Function EncryptPassword String sPWD Returns String

Call Example

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.

Return Value

Encrypted password