After reading many articles and docs regarding password handling, it's more than obvious that among best practices:
- I should not create custom encryption.
- I should use low level functionality in PHP in order to make sure (to the extent possible) that I will be able to adapt in the future if needed.
I started using PHP crypt() function when I saw phpass Now I am halfway through in implementing a user model in my PHP app (using codeigniter) and I stopped in order to think:
How I should design my code in order to be able to adapt and keep it working for many years to come? Is phpass in php spl library? Does this mean that support is ensured?