You are here

private function FieldEncyptCacheTrait::decrypt in Field Encryption 7

Decrypts the data from the Cache backend.

Parameters

string $data: Encrypted data string.

Return value

mixed|string Decrypted data.

1 call to FieldEncyptCacheTrait::decrypt()
FieldEncryptDatabaseCache::prepareItem in ./field_encrypt.cache.inc
Prepare a cached item.

File

./field_encrypt.cache.inc, line 41
Field encryption cache classes.

Class

FieldEncyptCacheTrait
Class FieldEncyptCacheTrait.

Code

private function decrypt($data) {
  module_load_include('inc', 'field_encrypt');
  return field_encrypt_decrypt($data);
}