You are here

function encrypt_encrypt_none in Encrypt 6

Same name and namespace in other branches
  1. 7 includes/encrypt.encrypt.inc \encrypt_encrypt_none()

Call back for Encrypt implementation: none

2 string references to 'encrypt_encrypt_none'
encrypt_encrypt_method_info in includes/encrypt.encrypt.inc
Implementation of encrypt_method_info().
hook_encrypt_method_info in ./encrypt.api.php
Encrypt Method Info

File

includes/encrypt.encrypt.inc, line 44
This file holds the hook implementation for the encrypt modules

Code

function encrypt_encrypt_none($op = 'encrypt', $text = '', $key = ENCRYPT_DEFAULT_KEY_NONE, $options = array()) {

  // Check op
  if ($op == 'decrypt') {

    // No encryption
    return $text;
  }
  else {

    // No encryption
    return $text;
  }
}