openssl_get_publickey

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Alias of openssl_pkey_get_public() This function is an alias of: openssl_pkey_get_public().

openssl_get_privatekey

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Alias of openssl_pkey_get_private() This function is an alias of: openssl_pkey_get_private().

openssl_get_cert_locations

(PHP 5 >= 5.6.0, PHP 7) Retrieve the available certificate locations array openssl_get_cert_locations ( void ) openssl_get_cert_locations() returns an array with information about the available certificate locations that will be searched for SSL certificates. Returns: Returns an array with the available certificate locations. Examples:

openssl_free_key

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Free key resource void openssl_free_key ( resource $key_identifier ) openssl_free_key() frees the key associated with the specified key_identifier from memory. Parameters: key_identifier openssl_free_key() frees the key associated with the specified key_identifier from memory. Returns: No value is returned.

openssl_encrypt

(PHP 5 >= 5.3.0, PHP 7) Encrypts data string openssl_encrypt ( string $data, string $method, string $password [, int $options = 0 [, string $iv = "" ]] ) Encrypts given data with given method and key, returns a raw or base64 encoded string Parameters: data The data. method The cipher method. password

openssl_error_string

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Return openSSL error message string openssl_error_string ( void ) openssl_error_string() returns the last error from the openSSL library. Error messages are queued, so this function should be called multiple times to collect all of the information. The last error will be the most recent one. Returns: Returns an error message string, or FALSE if there are no more e

openssl_get_cipher_methods

(PHP 5 >= 5.3.0, PHP 7) Gets available cipher methods array openssl_get_cipher_methods ([ bool $aliases = false ] ) Gets a list of available cipher methods. Parameters: aliases Set to TRUE if cipher aliases should be included within the returned array. Returns: An array of available cipher methods.

openssl_get_md_methods

(PHP 5 >= 5.3.0, PHP 7) Gets available digest methods array openssl_get_md_methods ([ bool $aliases = false ] ) Gets a list of available digest methods. Parameters: aliases Set to TRUE if digest aliases should be included within the returned array. Returns: An array of available digest methods.

openssl_digest

(PHP 5 >= 5.3.0, PHP 7) Computes a digest string openssl_digest ( string $data, string $method [, bool $raw_output = false ] ) Computes a digest hash value for the given data using a given method, and returns a raw or binhex encoded string. Parameters: data The data. method The digest method. raw_output

openssl_dh_compute_key

(PHP 5 >= 5.3.11, PHP 7) Computes shared secret for public value of remote DH key and local DH key string openssl_dh_compute_key ( string $pub_key, resource $dh_key ) Parameters: pub_key Public key dh_key DH key Returns: Returns computed key on success or FALSE on failure.