3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $merchant = 'VICTORIA_BRIDES'; $secretKey = '53b9565a-f717-42e1-990c-ba64a3598901'; echo base64_encode( hash_hmac( 'sha512', $merchant . \json_encode(['order_id' => 1000001067]) . $merchant, $secretKey ) );
based on 90n7N
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
MzIyZWYyMmYzODllMjg2Mzc4OTdkNDUyNTlmMzUzNDcwZTY3NTJkNWVkYTM2NGI0ZTgxMzUzMmU5MDEwYzJhMDk0Y2EzMDJkNTYyNWI5ZWQwZDEzOGJhZmUxY2UzN2ZjNjZmNjlhNDU4ZWM1YzAyMTczYzUwOTYwNmQ5ODY5NGU=