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.



Your result can be seen below.

Result of php executing





Full code of pireus hash key.php

  1. <?php
  2.  
  3. $concatstring = '4236ece6142b4639925eb6f80217122f;99999999;14;Test;389700;MyParam;00;364629;02;1;Success';
  4. $transticket = '4236ece6142b4639925eb6f80217122f';
  5.  
  6.  
  7. $hash_key = strtoupper(hash_hmac('sha256', $concatstring, $transticket, false));
  8.  
  9. echo $hash_key;
File Description
  • pireus hash key
  • PHP Code
  • 24 Oct-2019
  • 264 Bytes
You can Share it: