Snippets tagged “openssl”
9 snippets use this tag.
- Encrypt and Decrypt text with RSA in PHPPHP
Sure!
- Generating cryptographically secure tokensPHP
In PHP, you can use the built-in function random_bytes() to generate cryptographically secure random bytes, which can then be converted into a token.
- How to Encrypt and Decrypt a String in PHPPHP
On this page, you can find comprehensive information about encrypting and decrypting a string in PHP. Learn how to do it with the functions of openssl.
- How to get file_get_contents() to work with HTTPS?PHP
To get file_get_contents() to work with HTTPS, you may need to make sure that PHP has been compiled with the OpenSSL extension.
- How to install all required PHP extensions for Laravel?PHP
To install all of the required PHP extensions for Laravel, you will need to install the following PHP extensions on your server:
- How to solve javax.net.ssl.SSLHandshakeException Error?Java
The javax.net.ssl.SSLHandshakeException error is usually caused by a problem with the SSL/TLS certificate of the server you are trying to connect to.
- PHP ini file_get_contents external urlPHP
To use the file_get_contents function to retrieve the contents of an external URL in PHP, you will first need to ensure that the allow_url_fopen directive is enabled in your php.ini file.
- Setting up SSL on a local xampp/apache serverPHP
To set up SSL on a local XAMPP/Apache server, you will need to generate a self-signed certificate, configure the Apache server to use the certificate, and then access the server using https.
- The openssl extension is required for SSL/TLS protectionPHP
The openssl extension in PHP is required to provide SSL/TLS support.