Hello all,
I am trying to write a very simple password program (it isn't being used for any important data) that uses the .htpasswd file (so I don't have to maintain two password files for users). So I need a way to convert the password the user types in into the .htpasswd hash either before it is sent to the perl script (probably using javascript) or, my preference, in the perl script after the arrival of the password (in case someone have JS disabled or something).
Please correct me if I am wrong, but I think .htpasswd uses an MD5 hash, but to my knowledge, my ISP does not use any of the standard MD5 perl modules. At least, non of my code has worked so far.
Again, this is not for any critical/personal data, I am aware of the limitations of this scheme.
Thanks
I am trying to write a very simple password program (it isn't being used for any important data) that uses the .htpasswd file (so I don't have to maintain two password files for users). So I need a way to convert the password the user types in into the .htpasswd hash either before it is sent to the perl script (probably using javascript) or, my preference, in the perl script after the arrival of the password (in case someone have JS disabled or something).
Please correct me if I am wrong, but I think .htpasswd uses an MD5 hash, but to my knowledge, my ISP does not use any of the standard MD5 perl modules. At least, non of my code has worked so far.
Again, this is not for any critical/personal data, I am aware of the limitations of this scheme.
Thanks