• 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

Python - Include another Python script

How to create a cookie to store the timestamp of when a page is first loaded with php

Uploading video to Youtube using Youtube Data API V3 and Google API Client PHP -- getting 401 (unauthorized) message

How to make a array inside array?

java URL working on browser but not in client program

Laravel-fopen: failed to open stream: Permission denied

Could not decode a text frame as UTF-8.

How do I loop through an MS SQL database with VB.NET?

How can i update or reset my password without entering email field in laravel-8?

Add custom text under order details on WooCommerce My account view order pages

How to implement placeholder in a php file for moodle plugin?

What is the difference between client-side and server-side programming?

storagelogs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

Testing subscription renewals on Stripe

Target Individual Form Instance/Counter Inside A PHP While Loop

About Contact Privacy policy Terms and conditions