3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo hash( 'sha256', '20140411app_mo165mob@r4lf#l33' ); echo "\n"; $authKey = hash( 'sha256', 'moblee' . '4494c326c7c7e93fdd25719d48b341907f60aa9546a9990c78566f84fe23530f' ); echo $authKey; echo "\n"; echo $hash = hash_hmac( 'sha256', 'POSThttp://localhost:8080/moblee/ralf-api/api/v1_1/event/20140411app_mo165/user{ "user":"teste", "role":"editor", "password":"teste" }', $authKey ); echo "\n"; echo base64_encode( 'user:'.$hash ); echo "\n"; echo hash( 'sha256', '20140411app_mo165senha' );

preferences:
57.17 ms | 402 KiB | 5 Q