Download auth SHA256 in PHP?
http://media-podcast.open.ac.uk/feeds2/l314-spanish/l314cuba2.m4v?time=124906621 5&userID=&signature=4bf4fd6c04deae3f58e797cbdf0b912d2e827afbf41e38e0fd9aedbde01e 8cd9
but when I compute the sha256 signature over "time=1249066215&userID=" I get a different result than the signature in the URL.
I compute the signature like this:
bin2hex(hash_hmac('SHA256', 'time=1249066215&userID=', $iTunesUSECRET, true));
Has anybody had problems with this?
Thanks,
Laurian
Mac OS X (10.5.7)