|
Peach ::
Transformers ::
crypto ::
ApacheMd5Crypt ::
Class ApacheMd5Crypt
|
|
Class ApacheMd5Crypt
source code
Apache style MD5 crypt. If no salt is specified will use first two
chars of data, ala pwd style.
Uses '$apr1$' as magic.
From underlying docs:
apache_md5_crypt() provides a function compatible with Apache's
.htpasswd files. This was contributed by Bryan Hart
<bryan@eai.com>.
"THE BEER-WARE LICENSE" (Revision 42):
<phk@login.dknet.dk> wrote this file. As long as you retain this
notice you can do whatever you want with this stuff. If we meet some day,
and you think this stuff is worth it, you can buy me a beer in return.
Poul-Henning Kamp