i wana hash my password and save them in db.and then select them from db,what hashing alghoritm u suggest?
i googled and i found bcrypt for good,is it right?its best soluotion?
do you have any idea for helping me?
i wana hash my password and save them in db.and then select them from db,what hashing alghoritm u suggest?
i googled and i found bcrypt for good,is it right?its best soluotion?
do you have any idea for helping me?
This:
http://php.net/manual/en/function.password-hash.php
http://php.net/manual/en/function.password-verify.php
thaks…
i checket both of this before,i need youpoints of your expriences,
password_hash() will use bcrypt by default, which is considered the best algorithm nowadays. If you use password_hash() with the default parameters, it is possible that in the future a better algorithm will be used - if it is created. Also, this function will strengthen the algorithm by performing many iterations of hashing - this can’t be really done in pure php because you will never achieve the same speed as a C extension can. I’d say this is the best hashing function right now for most use cases unless you have some very specific requirements.
ok,thanks in advance for giving ur valuable time for me
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.