skip to Main Content

How to encode this from hex to hex in php ? hmac sha-1

I need to write THIS in php https://cryptii.com/pipes/QiZmdA I have tried those but don't produce the same result <?php echo hash_hmac('sha1', '002590cd26da', "8544e3b47eca58f9583043f8"); echo var_dump(hash_hmac("sha1", "002590cd26da", pack("H*", "8544e3b47eca58f9583043f8"))); ?> what am i doing wrong ? Thanks in advance

VIEW QUESTION
Back To Top
Search