[英]How should I store a timestamp coming from JS on the server-side in a way that I can reliably use to convert to other timezones?
[英]Is there a PHP version of zxcvbn.js or a way that I can use it server side to enforce a password rule?
我正在使用密碼強度檢查器zxcvbn來顯示密碼的強度。
我想使用提供的算法強制執行一定程度的強度,但顯然它可以在客戶端被篡改,所以我還需要在服務器端驗證密碼以確保。 據我所知,目前還沒有PHP版本的zxcvbn,我現在沒有時間移植它。
我的選擇是什么?
在https://github.com/Dreyer/php-zxcvbn上的github上有一個zxcvbn Python端口的PHP端口。 請注意,作者聲明此時不建議用於生產。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.