2017 © Pedro Peláez
 

library php-crypt-md5

A pure PHP implementation of an MD5-hashsum-based implementation of the crypt routine, which can be used to generate hashs for Apache's passwd files

image

driehle/php-crypt-md5

A pure PHP implementation of an MD5-hashsum-based implementation of the crypt routine, which can be used to generate hashs for Apache's passwd files

  • Friday, July 10, 2015
  • by driehle
  • Repository
  • 1 Watchers
  • 5 Stars
  • 261 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 9 % Grown

The README.md

PHP crypt-md5

A pure PHP implementation of an MD5-hashsum-based implementation of the crypt routine, which can be used to generate hashs for Apache's passwd files., (*1)

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Description

unix_md5_crypt() provides a crypt()-compatible interface to the rather new MD5-based crypt() function found in modern operating systems. It's based on the implementation found on FreeBSD 2.2.[56]-RELEASE and contains the following license in it:, (*3)

"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

apache_md5_crypt() provides a function compatible with Apache's .htpasswd files. This was contributed by Bryan Hart (bryan@eai.com)., (*4)

Installation

The latest version of this package can be installed via Composer:, (*5)

composer require driehle/php-crypt-md5

All available versions can be found under https://packagist.org/packages/driehle/php-crypt-md5., (*6)

Usage

$cryptedpassword = Md5Crypt::unix   ($password [, $salt [, $magicstring ]);
$apachepassword  = Md5Crypt::apache ($password [, $salt]);

Authors

Other implementations this one is based on:, (*7)

  • perl's Crypt::PasswdMD5 by Luis Munoz (lem@cantv.net)
  • phyton's md5crypt.py by Michal Wallace http://www.sabren.com/
  • /usr/src/libcrypt/crypt.c from FreeBSD 2.2.5-RELEASE

The Versions

10/07 2015

dev-master

9999999-dev https://github.com/driehle/php-crypt-md5

A pure PHP implementation of an MD5-hashsum-based implementation of the crypt routine, which can be used to generate hashs for Apache's passwd files

  Sources   Download

LGPL-3.0+ GPL-3.0+

The Requires

  • php >=5.3.0

 

The Development Requires

apache crypt md5 htaccess passwd

26/06 2013

v2.0.0

2.0.0.0 https://github.com/driehle/php-crypt-md5

A pure PHP implementation of an MD5-hashsum-based implementation of the crypt routine, which can be used to generate hashs for Apache's passwd files

  Sources   Download

LGPL-3.0+ GPL-3.0+

The Requires

  • php >=5.0

 

The Development Requires

apache crypt md5 htaccess passwd