After upgraded the version of PHP in 8+ the mcrypt functions are deprecated and facing below deprecation warnings in logs.
Deprecated function: Function mcrypt_module_close() is deprecated in _encrypt_encryption_methods_mcrypt_aes_cbc() (line 105 of /encrypt/plugins/encryption_methods/mcrypt_aes_cbc.inc).
Deprecated function: Function mcrypt_generic_deinit() is deprecated in _encrypt_encryption_methods_mcrypt_aes_cbc() (line 98 of /encrypt/plugins/encryption_methods/mcrypt_aes_cbc.inc).
Deprecated function: Function mdecrypt_generic() is deprecated in _encrypt_encryption_methods_mcrypt_aes_cbc() (line 95 of /encrypt/plugins/encryption_methods/mcrypt_aes_cbc.inc).
Deprecated function: Function mcrypt_generic_init() is deprecated in _encrypt_encryption_methods_mcrypt_aes_cbc() (line 92 of /encrypt/plugins/encryption_methods/mcrypt_aes_cbc.inc).
Deprecated function: Function mcrypt_enc_get_block_size() is deprecated in _encrypt_encryption_methods_mcrypt_aes_cbc() (line 35 of /encrypt/plugins/encryption_methods/mcrypt_aes_cbc.inc).
Deprecated function: Function mcrypt_enc_get_iv_size() is deprecated in _encrypt_encryption_methods_mcrypt_aes_cbc() (line 34 of /encrypt/plugins/encryption_methods/mcrypt_aes_cbc.inc).
Deprecated function: Function mcrypt_module_open() is deprecated in _encrypt_encryption_methods_mcrypt_aes_cbc() (line 33 of /encrypt/plugins/encryption_methods/mcrypt_aes_cbc.inc).
Suppress these above warning please find below attached patch.