function decrypt in Encrypt 6
Same name and namespace in other branches
- 7.3 encrypt.module \decrypt()
- 7 encrypt.module \decrypt()
- 7.2 encrypt.module \decrypt()
Decrypt
Decrypt text.
Parameters
$text: Text to decrypt
$options: Array of options for decryption
$method: String name of method to use. Uses setting default if NULL
Return value
Decrypted text
1 call to decrypt()
- EncryptTest::testCheckEncryptionMethodsKeys in ./
encrypt.test - Test to check encryption methods
4 string references to 'decrypt'
- encrypt_encrypt_basic in includes/
encrypt.encrypt.inc - Call back for Encrypt implementation: default
- encrypt_encrypt_mcrypt_rij_256 in includes/
encrypt.encrypt.inc - Call back for Encrypt implementation: Mcrypt
- encrypt_encrypt_none in includes/
encrypt.encrypt.inc - Call back for Encrypt implementation: none
- _encrypt_decrypt in includes/
encrypt.crypt.inc - Private Encrypt and Decrypt
File
- ./
encrypt.module, line 159 - Main Encrypt Drupal File
Code
function decrypt($text = '', $options = array(), $method = NULL, $key_name = NULL) {
encrypt_initialize();
return _encrypt_decrypt('decrypt', $text, $options, $method, $key_name);
}