Phpmyadmin logon error crypt_random_string requires at least one encrypted Ric cipher be loaded solution,

Source: Internet
Author: User
Tags crypt

Phpmyadmin logon error crypt_random_string requires at least one encrypted Ric cipher be loaded solution,

The following error is prompted during phpmyadmin Logon:

Phpmyadmin crypt_random_string requires at least one cipher Ric cipher be loaded

Cause of error: path problem.

Solution:

1. Go to the phpmyadmin root directory and open \ libraries \ phpseclib \ Crypt \ Random. php.

2. In around 195 lines, find the following code and add the red background font.

switch (true) {case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/AES.php’):if (!class_exists('Crypt_AES’)) {include_once 'AES.php’;}$crypto = new Crypt_AES(CRYPT_AES_MODE_CTR);break;case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/Twofish.php’):if (!class_exists('Crypt_Twofish’)) {include_once 'Twofish.php’;}$crypto = new Crypt_Twofish(CRYPT_TWOFISH_MODE_CTR);break;case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/Blowfish.php’):if (!class_exists('Crypt_Blowfish’)) {include_once 'Blowfish.php’;}$crypto = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR);break;case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/TripleDES.php’):if (!class_exists('Crypt_TripleDES’)) {include_once 'TripleDES.php’;}$crypto = new Crypt_TripleDES(CRYPT_DES_MODE_CTR);break;case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/DES.php’):if (!class_exists('Crypt_DES’)) {include_once 'DES.php’;}$crypto = new Crypt_DES(CRYPT_DES_MODE_CTR);break;case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/RC4.php’):if (!class_exists('Crypt_RC4’)) {include_once 'RC4.php’;}$crypto = new Crypt_RC4();break;default:user_error('crypt_random_string requires at least one symmetric cipher be loaded’);return false;}

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.