public function OpenSSL::isAvailable in DRD Agent 4.0.x
Same name and namespace in other branches
- 8.3 src/Crypt/Method/OpenSSL.php \Drupal\drd_agent\Crypt\Method\OpenSSL::isAvailable()
Find out if the crypt method is available.
Return value
bool TRUE if method is available.
Overrides BaseMethodInterface::isAvailable
File
- src/
Crypt/ Method/ OpenSSL.php, line 60
Class
- OpenSSL
- Provides OpenSSL encryption functionality.
Namespace
Drupal\drd_agent\Crypt\MethodCode
public function isAvailable() : bool {
return function_exists('openssl_encrypt');
}