You are here

function encrypt_openssl_encrypt_encryption_methods in Encrypt 7.2

Implements hook_encrypt_encryption_methods().

1 call to encrypt_openssl_encrypt_encryption_methods()
openssl.inc in plugins/encryption_methods/openssl.inc

File

plugins/encryption_methods/openssl.inc, line 13

Code

function encrypt_openssl_encrypt_encryption_methods() {
  return array(
    'title' => t('AES (OpenSSL) + HMAC-SHA256'),
    'description' => t('Uses AES-128-CBC via OpenSSL along with HMAC-SHA256.'),
    'encrypt callback' => '_encrypt_encryption_methods_openssl',
    'dependency callback' => '_encrypt_openssl_extension_is_present',
  );
}