You are here

public static function LockrAesCbcKeyWrapper::enabled in Lockr 7.3

Same name and namespace in other branches
  1. 7.2 vendor/lockr/lockr-client/src/KeyWrapper/LockrAesCbcKeyWrapper.php \Lockr\KeyWrapper\LockrAesCbcKeyWrapper::enabled()

Return value

bool

Overrides KeyWrapperInterface::enabled

File

vendor/lockr/lockr/src/KeyWrapper/LockrAesCbcKeyWrapper.php, line 13

Class

LockrAesCbcKeyWrapper

Namespace

Lockr\KeyWrapper

Code

public static function enabled() {
  return function_exists('mcrypt_encrypt') && function_exists('openssl_encrypt');
}