Documentation

load the helper:

$eEmail=loader::Helper('encrypted_email');

Send and recieve the data

echo $eEmail->encryptEmailAddress($emailAddress, $linkText);