Re: RFC: Message digest hashing and HMAC classes
| From: | Martin Jansen | Date: | Sat, 28 Sep 2002 10:40:27 +0000 |
| Subject: | Re: RFC: Message digest hashing and HMAC classes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9633@lists.php.net to get a copy of this message | ||
On Thu Sep 26, 2002 at 05:3412PM -0700, Jesus M. Castagnetto wrote:
> I was playing with the mhash lib (just installed it), and as luck will have it
> I got the September issue of the "Linux Magazine", read the articles, hit
> google, etc.
>
> To make a long story short, I made some simple wrappers that use the mhash
> functions to generate message digests (aka hashes), as well as HMACs.
>
> Take a look at the code at:
>
> http://www.scripps.edu/~jesusmc/stuff/Digest-0.0.1.tgz
>
> That code is barely commented, but it is simple enough so it may not need to be
> for now. The main class is the Digest class, and can be used to generate hash
> or HMAC objects, or can be used via call to its static methods.
+1 if it is really properly documented. (According to the quote above
it appears it currently isn't. IMO it should be documented, even if
it's really easy for _you_ to understand ;-)).
--
- Martin Martin Jansen
http://martinjansen.com/