Encrypt 

Purpose

Encrypt information in a text string.

Syntax

virtual void Encrypt(CRfcString& rfcString);

Parameters

rfcString: reference to a CRfcString object containing a text string to be encrypted.

Description

This function offers a simple algorithm for encrypting information. It is intended to be used in conjunction with WriteRegistry() function to store encrypted connection and user information into Window’s Registry.

This function can be overridden in a derived class to implement the user’s own algorithm for decipher encryption.

Related Information

WriteRegistry

ReadRegistry

Decrypt