Function mcrypt_create_iv() is deprecated within CodeIgniter framework

微笑、不失礼 提交于 2019-12-01 20:54:26

The manual http://php.net/manual/en/function.mcrypt-create-iv.php states:

Warning

This function was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0.

Alternatives to this function include:

There is an alternate solution if you don't want to use random_bytes(), and it is shown here:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!