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 186 views
1 answer 212 views
212 views asked Aug 8, 2020 by avibootz
2 answers 263 views
2 answers 198 views
198 views asked Oct 12, 2019 by avibootz
1 answer 210 views
...