ph_encrypt PowerHome formula function
Description
This function will encrypt strings using a user specified key.
Syntax
ph_encrypt ( data, key )
Argument Description
data String.  The data you would like to encrypt.
key String.  The key to use for encrypting the data.  This can be a pass phrase or similar.  In order to decrypt, you must use the same key that was used for encryption.
Return value
String. Returns the encrypted string in hex format.
Usage
The ph_encrypt and ph_decrypt functions use the Microsoft Cryptograghy library.
Examples
The following examples demonstrate typical syntax/usage for this function.
ph_encrypt("This is a test","abc123") The output of this function will be the encrypted string: "C2DB941D6A1754A02778D80C9C91".  The "abc123" is the key/password that used to encrypt the string.