Hi,
I've recently downloaded the package from Connect and saw that there was a C# and a Ruby example, but I use PHP in stead of Ruby, so I decided to port it. I use mcrypt for the AES128-part, because I couldn't find any other library that can do AES128.
You can test it at http://admin.ownedia.com/liveid, but it doesn't completely work yet, the signature is invalid, it says. If you want to view the sources, browse to http://admin.ownedia.com/liveid/source.
The output you see after logging in is a failed attempt to split() the unencrypted token, the generated signature and the (fatal) error message that the signature did not match.
Could somebody help me please I'm nearly there, I think.
Greetings,
Alex