- base64_decode: documentation ( source)
- hash_hmac: documentation ( source)
- hash: documentation ( source)
<?php
echo base64_decode('bW9ibGVlOmYxZWJmMjc2ZGFiZGM2ZGYyMDAxZGU0YWVhM2M1ODg2ZTAxN2QyMWE1N2Q4NWZhOTZkMTk4OTFiYjg0NjBlOWM=') . "\n";
echo hash_hmac( 'sha256', 'POSThttp://ralf.moblee.com.br/api/v1_1/event/20151225maintt273/entry-----------------------a70ef651f1
Content-Disposition: form-data; name="mode"
-----------------------a70ef651f1
Content-Disposition: form-data; name="link"
-----------------------a70ef651f1
Content-Disposition: form-data; name="name"
Teste
-----------------------a70ef651f1
Content-Disposition: form-data; name="info"
-----------------------a70ef651f1
Content-Disposition: form-data; name="pub_date"
1426607820
-----------------------a70ef651f1
Content-Disposition: form-data; name="type"
news
-----------------------a70ef651f1
Content-Disposition: form-data; name="last_update"
1426609252
-----------------------a70ef651f1
', 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' ) );