Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Password complexity constraints, yes or no - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
8mo ago
•
101 replies
Ganesh
Password complexity constraints, yes or no
I was going through best practice for password constraints
. Happened upon nist guidelines where they discourage complexity constraints and instead suggest depending on length
(minimum of 8
) and blocklist
, password generators etc
.
https://pages.nist.gov/800-63-4/sp800-63b/passwords/
Is it better to not enforce any
"must contain special character
" constraints then
?
Also should you trim spaces at the end and start of password before hashing
? For username i tend to do it but I
'm not sure
.
Or do I just set validation that informs the user that spaces at the end or start of password are not allowed
.
Or just let the user enter it like that
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
[Algorithm] Two Crystal Balls for Square Root Time Complexity
KP-C
Kevin Powell - Community / help
7mo ago
C++ Or Java
KP-C
Kevin Powell - Community / help
7mo ago
I'm trying to recreate the carousel from a website with purely CSS (no or minimal JS)
KP-C
Kevin Powell - Community / help
12mo ago
What am I supposed to study to achieve this? Yes, it's Javascript, but what exactly?
KP-C
Kevin Powell - Community / help
5mo ago