Package for Message digest (hashing, HMAC). Starting with files from http://svn.php.net/repository/pear/packages/Message trunk (version 0.6.0)
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
HMAC
Hash
misc
Message.php
README.md
common.php
package.xml

README.md

Message

Package of utility functions to perform Message Digest operations: hash calculation and HMAC signature generation for data authentication.

See RFC 2104 (and examples in RFC 2202) for more details on HMAC

The package is documented and usable. See examples in the "misc" dir.

Input data, can be a string or a resource created using fopen/fsocket/gzopen/bzopen/popen (or its stream equivalent).

If the mhash extension is detected then it will be used, otherwise it will fall back to using md5() and sha1() only.

This is old code I wrote for PEAR. Originally it was tracked in CVS, then it was moved to SVN, and now I am importing it to git :-)

-- Jesus M. Castagnetto