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

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

问题描述

解决方案

你可以使用md5 php函数加密密码字符串,而登录时,您必须检查字符串散列,并保存在数据库中的哈希密码加密有一个好的帖子,您可以阅读



stackoverflow post



这里是创建加密密码的两个很好的库

PHP密码库



PHPass



codeigniter auth库,如tank auth,使用PHPass加密密码


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

解决方案

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 Password library

PHPass

codeigniter auth library like tank auth using PHPass for encrypting password

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

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