briedis Posted June 26, 2015 Report Share Posted June 26, 2015 Pietiek, bet servera pusē jebkurā gadījumā vajadzētu pārbaudīt, vai parole ir vismaz 8 simboli. Quote Link to comment Share on other sites More sharing options...
F3llony Posted June 26, 2015 Report Share Posted June 26, 2015 Ja konkrēti par parolēm PHP vidē, tad neveidojam kaut kādus savus velosipēdus (lipinam sāļus ar parolēm), bet lietojam password_* funkcijas, http://php.net/manual/en/function.password-hash.php password_hash, password_verify. Tas gan ir tikai PHP 5.5, bet nu lietot kaut ko vecāku jau tagad gan nevajadzētu... Kas ir tas pats crypt/bcrypt Quote Link to comment Share on other sites More sharing options...
briedis Posted June 26, 2015 Report Share Posted June 26, 2015 Kas ir tas pats crypt/bcrypt Jā, tā nu doķos ir rakstīts, bet vismaz tagad ir saprātīgs interfeiss. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.