• 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

Sort multidimensional array by column value within a column

How to get company posts from LinkedIn via API?

MOODLE: What does it mean to aggregate h5p assets?

Laravel relationship belongsToMany with composite primary keys

Problem with fetching data from database in Laravel

Display the default discounted price and percentage on Woocommerce products

Download & Save Zoom Recording in directory by PHP

how to insert data into select2 search input after scan using qrcode

how to display a view on laravel 8 and not have a 404 NOT FOUND page?

HTML and PHP in one file

enroll_table three field fetch to payment form to create payment field in laravel 5.5

Send Outlook 2010 email using PHP

PHP DOTENV unable to load env vars

Don't show recurring price for WooCommerce subscriptions worth 0$

Is it possible to change the table name in the migration file-laravel

About Contact Privacy policy Terms and conditions