在codeigniter中加密密码的最好方法是什么 [英] What is the best method to encrypt password in codeigniter

查看:449
本文介绍了在codeigniter中加密密码的最好方法是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我找到codeigniter的最佳加密方法。

Can anyone help me out to find the best encryption method for codeigniter?

推荐答案

您可以使用md5 php函数加密密码字符串而登录你必须检查哈希字符串与哈希保存在数据库中有一个好的密码加密的邮件你可以阅读

hi you can use md5 php function to encryt password string while login you have to check hash of string with hash saved in database there is one good post for password encryption you can read that

stackoverflow post

这里有两个好的库用于创建加密的密码

here are two good libraries for creating encrypted password

PHP密码库

PHPass

codeigniter auth library like tank auth使用PHPass加密密码

codeigniter auth library like tank auth using PHPass for encrypting password

这篇关于在codeigniter中加密密码的最好方法是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆