Thats the problem i think plain and crypt both don't have a Identifier tag,
The since the script will be used on win only i went for always plain text.

Can emulaion crypt on platforms that don't support it? or will this be to slow?

On 4/11/06, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote:
Jorge Schrauwen wrote:
> I was wondering this too while parsing htpasswd files in php.
> all others have a identified in front to see what encrypt it used...
> Why doesn't crypt have one?

Because why would anyone have a passwd file that doesn't use crypt()?

Have to remember htpasswd followed the passwd shadow file, and that was always
using crypt.  Nobody at the time foresaw a reason to do anything else.  The
identifier tags came later.  Why plain didn't gain an identifier tag is beyond me.

Bill



--
~Jorge

Reply via email to