Re: .htpasswd encryption
| From: | Hervé PARISSI | Date: | Wed, 11 Apr 2001 10:20:18 +0000 |
| Subject: | Re: .htpasswd encryption | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48138@lists.php.net to get a copy of this message | ||
Brandon Orther wrote:
> Hello,
>
> I am trying to make a script that creates .htpasswd files. Does anyone
> know what encryption is used?
>
> Thanks
> Brandon
>
It can be crypt() or MD5 or SHA, you could call htpasswd.
See man htpasswd under *nix.