You are here

public static function LockrAesCbcKeyWrapper::enabled in Lockr 7.2

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

Return value

bool

Overrides KeyWrapperInterface::enabled

File

vendor/lockr/lockr-client/src/KeyWrapper/LockrAesCbcKeyWrapper.php, line 11

Class

LockrAesCbcKeyWrapper

Namespace

Lockr\KeyWrapper

Code

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