2013-11-26 87 views
4

我一直在尋找互聯網上加密數據庫密碼的最佳選擇。我發現password_hash()是最好的選擇,但後來我發現它僅適用於PHP 5.5+。顯然我的主機有版本5.3.27。我一直在尋找最好的選擇,但找不到任何好的東西。PHP 5.3.27中password_hash的最佳選擇?

+1

如果你讀的文檔頁面[password_hash()](http://prototype.php.net/function.password-hash ),你會發現這個[userland implementation]的鏈接(https://github.com/ircmaxell/password_compat) –

+2

@MarkBaker,出於好奇,爲什麼有些用戶在評論中提供了答案,而不是答案? :) – Matthew

+3

@Matthew - 如果我對一個問題的回答適合推文的140個字符的限制,我通常只會回答評論 –

回答