You are here

none.inc in Encrypt 7.3

Same filename and directory in other branches
  1. 7.2 plugins/encryption_methods/none.inc

File

plugins/encryption_methods/none.inc
View source
<?php

/**
 * @file
 * Plugin definition for the "none" encryption method.
 */
$plugin = encrypt_none_encrypt_encryption_methods();

/**
 * Implements MODULE_FILENAME_encrypt_encryption_methods().
 */
function encrypt_none_encrypt_encryption_methods() {
  return array(
    'title' => t('None'),
    'description' => t('This uses no encryption.  It is not suggested to use this.'),
    'encrypt callback' => 'encrypt_encryption_methods_none',
  );
}

/**
 * Callback for Encrypt implementation: none.
 */
function encrypt_encryption_methods_none($op, $text, $key, $options = array()) {
  return $text;
}

Functions

Namesort descending Description
encrypt_encryption_methods_none Callback for Encrypt implementation: none.
encrypt_none_encrypt_encryption_methods Implements MODULE_FILENAME_encrypt_encryption_methods().