How to generate a keyed hash value using the HMAC method and shared secret key from text file in PHP

1 Answer

0 votes
file_put_contents('d:\data.txt', 'secret key hash value with HMAC method');

echo hash_hmac_file('md5', 'd:\data.txt', 'secret_key');


/*
run:

e3f09f47c27c0d80dba6bff467004365

*/

 



answered Jun 27, 2016 by avibootz

Related questions

1 answer 174 views
1 answer 203 views
203 views asked Aug 8, 2020 by avibootz
2 answers 248 views
2 answers 181 views
181 views asked Oct 12, 2019 by avibootz
1 answer 193 views
...