Decrypt 

Purpose

Restore encrypted information stored in a text string.

Syntax

virtual void Decrypt(CRfcString& rfcString);

Parameters

rfcString: reference to a CRfcString object containing encryption to be restored.

Description

This function offers a simple algorithm for restoring encrypted information. It is intended to be used in conjunction with ReadRegistry() function to read encrypted connection and user information that had been written to 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

Encrypt