• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Call to undefined function openssl_decrypt

phpopensslphp-openssl


PHP Snippet 1:

extension=php_openssl.dll

PHP Snippet 2:

<?php
include('Crypt/AES.php');

$cipher = new Crypt_AES(); // it's cbc by default
$cipher->setKeyLength(256);
$cipher->setKey('abcdefghijklmnopijklmnopqrstuvwxyz3456');

$size = 10 * 1024;
$plaintext = str_repeat('a', $size);

echo $cipher->decrypt($cipher->encrypt($plaintext));
?>

Related Snippets

Remove product downloads section in woocommerce email notifications

Find out the name of the last script that included the current one

Woocommerce redirect after add-to-cart error

shell errors running php exec

Laravel You requested 1 items, but there are only 0 items available

Failed user login on production server using Symfony framework (Authentication request could not be processed due to...)

json_encode turns array into an object

How to change HTML structure inside WP <head>

Update Order custom Field value with WooCommerce REST API

How to average columns of data from multiple, flat arrays?

PHP 8 - libxml_disable_entity_loader() has been deprecated. How do I replace the functionality it provides?

Combine multiple columns into an array as one of the key in a results set

Transpose csv file data [duplicate]

Custom post type single page not working

Get Header Authorization value of a login api (sent with username and password in json body) using php curl

About Contact Privacy policy Terms and conditions