Skip to content

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) #6

Description

@mondher-hamdi

Hello,
we have a warning on php 7.4.x

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP)

can you change these two lines

/**#@+
* Encryption constants
*/
 const ENCRYPTION_CIPHER = MCRYPT_RIJNDAEL_128;
const ENCRYPTION_MODE = MCRYPT_MODE_CBC;
/**#@-*/

By

/**#@+
* Encryption constants
*/
const ENCRYPTION_CIPHER = "rijndael-128";
const ENCRYPTION_MODE = "cbc";
/**#@-*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions