[Microid] php microid
Will Norris
will at willnorris.com
Tue Mar 13 23:39:30 EST 2007
I apologize for replying to my own message and so soon, but I quickly
thought of a few important changes. Primarily, I've added a 'verify'
function that takes the two URIs as well as a microid. The microid
can be in the latest format or legacy, and the method will return
true if they ID is valid. I was only thinking about generating the
IDs and hadn't even considered what might be useful to consumers.
I've also wrapped things in a class to (partially) avoid namespace
collisions, added some more comments, added a license so there is no
question of reuse, and removed the md5 legacy test case since legacy
assumes sha1. Any critiques are welcome and appreciated.
-will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-microid.zip
Type: application/zip
Size: 2827 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/microid/attachments/20070313/1bfa162f/attachment.zip
-------------- next part --------------
On Mar 13, 2007, at 8:54 PM, Will Norris wrote:
> I was in the process of updating the microid plugin I'm using
> (Richard Miller's) to use the newer format, when I ran across
> Eran's post on this list a couple of months ago about his wp
> plugin. I rewrite the actual microid function to generate either
> format as well as work with a number of hashing engines and
> algorithms. I've attached the code along with a few simple PHPUnit
> tests for review. I think I'm doing things right, but wanted to
> have some others take a look as well.
>
> Eran: I was thinking about having Matt setup a 'microid' project on
> wp-plugins.net like we did for yadis, if you're interested.
>
> Thanks,
> Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2448 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/microid/attachments/20070313/1bfa162f/attachment.bin
More information about the Microid
mailing list