134
submitted 1 day ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 21 points 1 day ago* (last edited 1 day ago)

The bcrypt implementation only uses the first 72 bytes of a string. Any characters after that are ignored.

what

[-] [email protected] 9 points 1 day ago* (last edited 1 day ago)

Older Unix systems used to only do the first 8 bytes for passwords. Sometimes for my own amusement when logging into one of the Sun machines at school, I'd type in enough of my password to count and then just mash the keyboard.

[-] [email protected] 3 points 14 hours ago

for a long time, hotmail (and i think windows live mail) only checked the first 16 characters.

[-] [email protected] 2 points 12 hours ago

That's almost as good as the ones that limit password on the sign-in UI, but not on the sign-up

[-] [email protected] 1 points 1 hour ago

I have run across one that allowed arbitrary length when doing account creation and password reset but silently truncated the login input.

Took me hours to figure out that my password was longer than the documented length, try it and then have no problems.

this post was submitted on 18 Jul 2025
134 points (97.9% liked)

Programming

21650 readers
194 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS