• 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

How to downgrade or install a specific version of Composer?

Encrypt in php and decrypt in Dart(flutter)

is there any way to validate a field that sometime is File(image) && sometime is String(Src of same image)

CodeIgniter extend CI_URI undefined method

Laravel with App Engine Standard Class 'FacadeIgnitionIgnitionServiceProvider' not found

how to hide previous markers when new markers added in google map javascript api

How can I create a Download Page with post php method?

Coinpayments create_transaction "ERROR: Invalid command!"

Performance of foreach, array_map with lambda and array_map with static function

Warning file_get_contents () failed to open stream: HTTP request failed! HTTP/1.0 402 Payment Required

Group rows by column and sum another column within groups [duplicate]

Symfony/Form add attribute based on the data

Add record for each array elements if missing in table

Log file is not being written in Laravel 5.5

How Can I Do LIMIT 1, 2 In WP_Query

About Contact Privacy policy Terms and conditions