Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Either that, or he doesn't want to call you to let you know that you're right and he still hasn't changed anything because of pure arrogance.
-
@iSwimInTheC You are correct. I just checked from his boss, who has assigned me for review.
Someone else will see that and will post "PHP is not secure". A usual thing now a days. -
@Envydiv it's understandable. You were doing your first project and didn't know how to do it properly. Most of us did that.
But doing the same mistake even after knowing the what should be done is what I'm concerned about. -
Or you'll still be vulnerable to rainbow tables attacks. So stick "foo54!" at the beginning and "++bar" at the end so you can still hash and compare but foo54!password++bar won't be found hashed in rainbow tables the way password is.
-
@wbrianwhite actually salt option is deprecated as of PHP 7.0.0. PASSWORD_ARGON2I is good enough without any additional option, but you can increase the cost and other options depending on your hardware.
You can check it at https://secure.php.net/password_has... -
this is fucking happening in real world, checkout this issue https://github.com/johnathanmartin/... 🙃🙃
-
@abdilahrf This is so stupid. Thanks for the link but now I have to wash the stains from my eyes.
-
donuts236726ySo how can a hash be decrypted though or is it just because passwords aren't long enough to produce conflicts? so basically just need a conversion table to get the original string?
-
donuts236726y@rsync so if I use a password that is generated randomly, then it can't be decrypted? It's just an issue it's dumb people using coming passwords like 1234?
-
Fun fact: if you type your password in plaintext in a comment, DevRant automatically stars it out for you.
For example: ******** -
@AnonymousDev sounds like they're doing multiple derivations from the arguments. The questionb I'd have is do you get the same results with the same options all the time? Like time you're allowed - a value that's the same allows less work to happen on a laptop than on a beefy server.
Related Rants
I was reviewing one dev's work. It was in PHP. He used MD5 for password hashing. I told him to use to password_hash function as MD5 is not secure...
He said no we can't get a password from MD5 hashed string. It's one way hashing...
So I asked him to take couple of passwords from the users table and try to decode those in any online MD5 decoder and call me after that if he still thinks MD5 is secure.
I have not got any call from him since.
rant
md5
passwords stupid practices
php