A client would like me to make a single password work for all users of a certain role(Attendee). I/they know this is not a smart thing to do security-wise, but it must be done. This role has basically …
Tag: passwords
Symfony Ldap checkPassword
I’m using Symfony 4.4 and I’m doing my own authenticator. Everything works fine, I just can’t figure out how to compare the password entered by the user and the one in Ldap. I would like to do this in …
PHP – Password RegEx requirements
I am trying to validate if a new user account’s password is matching these criterias: Between 8-30 characters long Contains at least 1 lowercase letter (a-z) Contains at least 1 uppercase letter (A-Z)…
mcrypt is deprecated, what is the alternative?
The mcrypt-extension is deprecated will be removed in PHP 7.2 according to the comment posted here. So I am looking for an alternative way to encrypt passwords. Right now I am using something like I need your opinion for the best/strongest way to encrypt passwords, the encrypted password should of course supported by PHP 7.xx and should also be decryptable
Verifying MD5 passwords using password_verify()
Is there a way to convert a MD5 password to something that can be verified by password_verify()? I read on the Crypt Wikipedia page that “The printable form of MD5 password hashes starts with $1$.” …
PHP Password verify always returns false
I’m using PHP’s password hashing API to hash and verify my passwords on a site I’m building, however whenever I try and verify my password it always returns false. I have a User class which sets the …
looking for c# equivalent of php’s password-verify()
I need to import a bunch of user accounts Moodle into a system written in c#. Moodle uses password_hash() function to create hashes of passwords. I need to be able to verify these passwords in c#. In other words I looking for a c# implementation of PHP’s password verify function ( http://www.php.net/manual/en/function.password-verify.php ). I’ve googled a bit but couldn’t really
Generating Password Hash In PHP 5.5 And Setting Cost Option
I know PHP 5.5 is in alpha but this class I am making is just being made in advance to utilize it’s hashing feature by using function_exists(). I checked out the password_hash documentation. The 3rd argument is for $options which currently supports two options, ‘salt’ and ‘cost’. It states the following: cost, which denotes the algorithmic cost that should be
Generating a random password in php
I am trying to generate a random password in php. However I am getting all ‘a’s and the return type is of type array and I would like it to be a string. Any ideas on how to correct the code? Thanks….
Is it possible to remove a Password from a PDF file using PHP?
I would like to ask if it’s possible to use PHP in removing a password from a password-protected PDF file in which I already know the password? I’ve seen this page which provides many options but using bash script. 🙁 I was required to use PHP as much as possible. Any suggestions appreciated! Answer Of course it’s possible, all you