You are here

function encrypt_help in Encrypt 7.3

Same name and namespace in other branches
  1. 6 encrypt.module \encrypt_help()
  2. 7 encrypt.module \encrypt_help()
  3. 7.2 encrypt.module \encrypt_help()

Implements hook_help().

File

./encrypt.module, line 27
Main Encrypt Drupal File

Code

function encrypt_help($path, $arg) {
  switch ($path) {
    case 'admin/help#encrypt':
      $output = '<p>' . t("The encrypt module Provides an API for two-way encryption. Drupal has no native way to do two-way encryption. PHP's ability to do two-way encryption is a little more involved than most people care to get into.  This module provides an easy way to encrypt() and decrypt().") . '</p>';
      if (!function_exists('mcrypt_encrypt')) {
        $output .= '<p>' . t('MCrypt is currently not installed or configured properly on your server. If you would like to use the "MCrypt AES 256" method for encryption (highly recommended), follow the instructions for <a href="http://www.php.net/manual/en/mcrypt.setup.php">installing MCrypt</a>.') . '</p>';
      }
      return $output;
  }
}