The Utility_EncryptTableString() function encrypts a string using the same method that Dexterity uses when storing encrypted strings in tables.
Utility_EncryptTableString(source_string)
• source_string – The string to be encrypted.
A string containing the value in encrypted format.