pireus hash key - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of pireus hash key.php
- <?php
- $concatstring = '4236ece6142b4639925eb6f80217122f;99999999;14;Test;389700;MyParam;00;364629;02;1;Success';
- $transticket = '4236ece6142b4639925eb6f80217122f';
- $hash_key = strtoupper(hash_hmac('sha256', $concatstring, $transticket, false));
- echo $hash_key;