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