function salesforce_api_encrypt in Salesforce Suite 7.2
Same name and namespace in other branches
- 6.2 salesforce_api/salesforce_api.module \salesforce_api_encrypt()
Encrypt a specified value.
1 call to salesforce_api_encrypt()
- salesforce_api_settings_form_submit in salesforce_api/
salesforce_api.admin.inc - Settings form submit handler so that password doesn't get deleted.
1 string reference to 'salesforce_api_encrypt'
- salesforce_api_connect in salesforce_api/
salesforce_api.module - Creates an object used for communicating with the Salesforce server and performs a login to verify the API credentials.
File
- salesforce_api/
salesforce_api.module, line 2322 - Defines an API that enables modules to interact with the Salesforce server.
Code
function salesforce_api_encrypt($value) {
return function_exists('aes_encrypt') ? aes_encrypt($value) : $value;
}