Mcrypt deprecated in PHP 7.1

On every page, I encounter this set of errors:

A PHP Error was encountered
Severity: 8192
Message: Function mcrypt_list_algorithms() is deprecated
Filename: libraries/Encryption.php
Line Number: 234
Backtrace:
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\third_party\MX\Loader.php
Line: 199
Function: _ci_load_library 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\core\Base_Controller.php
Line: 41
Function: library 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\core\User_Controller.php
Line: 25
Function: __construct 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\core\Admin_Controller.php
Line: 20
Function: __construct 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\modules\projects\controllers\Projects.php
Line: 23
Function: __construct 
File: C:\Users\XXX\Source\Repos\ip1-5-0\index.php
Line: 327
Function: require_once 

A PHP Error was encountered
Severity: 8192
Message: Function mcrypt_module_open() is deprecated
Filename: libraries/Encryption.php
Line Number: 267
Backtrace:
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\third_party\MX\Loader.php
Line: 199
Function: _ci_load_library 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\core\Base_Controller.php
Line: 41
Function: library 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\core\User_Controller.php
Line: 25
Function: __construct 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\core\Admin_Controller.php
Line: 20
Function: __construct 
File: C:\Users\XXX\Source\Repos\ip1-5-0\application\modules\projects\controllers\Projects.php
Line: 23
Function: __construct 
File: C:\Users\XXX\Source\Repos\ip1-5-0\index.php
Line: 327
Function: require_once 

Is there something that is replacing this or, for the time bring, how can I suppress these errors?

Which version do you use? There is not Encription library in the latest version anymore so I assume that you use an older version?

Version 1.5.2 on PHP 7.1 (Windows)

I can run InvoicePlane 1.5.2 without any problems with PHP 7.1.1.
Please delete the file application/libraries/Encryption.php and try again. This file shold not exist anymore in this version.

Found out what happened. I didn’t load the OpenSSL module when I installed PHP. Thank you.