EncryptStringEx

Purpose

This function encrypts a string using an encryption password that you specify.  

Notes

Encrypted strings using this function are encrypted using strong (AES/Rijndael) encryption - the data can NOT be recovered if the password(s) are lost.  The resulting data may have unprintable characters, so you may not be able to save it using INI functions.  Another solution for writing encrypted data to a text file safely is to convert it to a text representation of HEX data.  See the example used in EncryptString.

Parameters

Parameter: Text
Type: string
Description: This is the text that you want encrypted.

Parameter: Password
Type: string
Description: This is the user-created text string to encrypt the text with.

Parameter: KeyModifier (Optional)
Type: string
Description: This optional parameter may be used to provide further user-specific encryption of the data - it is a modifier used with the password parameter to create the encryption key.

Returns

Return value: data
Type: string
Description: This returns a string containing an encrypted form of Text, encrypted using Password (and KeyModifier if provided).  This string is not limited to printable characters only, so care should be taken in the storage of this data in files.

See Also:

EncryptString
DecryptString