openssl_get_cipher_methods
PHP 5 >= 5.3.0, PHP 7, PHP 8
openssl_get_cipher_methods - Gets available cipher methods
Manual
openssl_get_cipher_methods(
[bool$aliases = false] ): array
Gets a list of available cipher methods.
Parameters
- aliases
-
Set to true if cipher aliases should be included within the returned array.
Return Values
An array of available cipher methods. Note that prior to OpenSSL 1.1.1, the cipher methods have been returned in upper case and lower case spelling; as of OpenSSL 1.1.1 only the lower case variants are returned.