/**
* Check if the cipher is supported in this environment.
*
* @return boolean
*
* @since 4.0.0
*/
public static function isSupported() : bool
{
try {
\Crypto::RuntimeTest();
return true;
} catch (\CryptoTestFailedException $e) {
return false;
}
}