- base64_decode: documentation ( source)
- hash_hmac: documentation ( source)
- hash: documentation ( source)
<?php
echo base64_decode('bW9ibGVlOmEwNjQ5NzkyMTI3ZDAwNTJkMjMyY2NiNDU4OTdiMGIyNWI0M2IzNTc2NWQxNWUzODFmYjY4ODA3YWEyZDE2ZDk=') . "\n";
echo hash_hmac( 'sha256', 'POSThttp://ralf.moblee.com.br/api/v1_1/event/20151225maintt273/entry-----------------------3155c3cd32
Content-Disposition: form-data; name="mode"
-----------------------3155c3cd32
Content-Disposition: form-data; name="link"
-----------------------3155c3cd32
Content-Disposition: form-data; name="name"
Teste
-----------------------3155c3cd32
Content-Disposition: form-data; name="info"
-----------------------3155c3cd32
Content-Disposition: form-data; name="pub_date"
1426607820
-----------------------3155c3cd32
Content-Disposition: form-data; name="type"
news
-----------------------3155c3cd32
Content-Disposition: form-data; name="last_update"
1426610716
-----------------------3155c3cd32
', hash( 'sha256', 'moblee' . hash( 'sha256', '20151225maintt273mob@r4lf#lee' ) ) )."\n";
echo hash( 'sha256', '20151225maintt273mob@r4lf#lee' )."\n";
echo hash( 'sha256', 'moblee' . hash( 'sha256', '20151225maintt273mob@r4lf#lee' ) );